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
【版权所有@Sevck 博客地址http://www.cnblogs.com/sevck】 可以转载,注明出处.