docker image 转换 docker file - Go语言中文社区

docker image 转换 docker file


这个是从每天的播报平台抓取到国外的信息发现的,感觉很实用。

博客原文,E文好的可以直接去看,https://samaritan.ai/blog/reversing-docker-images-into-dockerfiles/

code: https://github.com/sevck/WhaleTail

依赖,golang

cd $GOPATH/src
git clone https://github.com/P3GLEG/WhaleTail
go build .

help

./WhaleTail
Usage of ./WhaleTail:
  -f string
        File containing images to analyze seperated by line
  -filter
        Filters filenames that create noise such as node_modules. Check ignore.go file for more details (default true)
  -v    Print all details about the image
  -x    Save layers to current directory

 

转载于:https://www.cnblogs.com/sevck/p/9146752.html

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/angaoux03775/article/details/101710862
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-02-02 19:06:52
  • 阅读 ( 1427 )
  • 分类:docker

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢