项目中增加Redis,更稳定高效(项目中加redis)
927
2022-10-20
WhaleTail是一个Go程序,用于将docker镜像逆向工程化为Dockerfiles
Whaler
Whaler is a Go program which is designed to reverse engineer docker images into the Dockerfile that created it. It currently performs the following actions
Generates a Dockerfile from an ImageSearches added filenames for potential secret filesExtracts files that were added by the Docker ADD/COPY InstructionsIt also displays misc. information such as ports open, the user it runs as and environment variables.
You can read more about this on my blog Here
How to build it
Git clone the project into your $GOPATH/src directory and perform the following command
go get -u github.com/P3GLEG/Whalercd $GOPATH/src/github.com/P3GLEG/Whalergo build .
How to run it
./WhalerUsage of ./Whaler: -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) -sV string Set the docker client ID to a specific version -sV=1.36 -v Print all details about the image -x Save layers to current directory
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~