下载dfimage镜像
docker pull alpine/dfimage
做别名
alias dfimage="docker run -v /var/run/docker.sock:/var/run/docker.sock --rm alpine/dfimage"
提取nginx镜像Dockerfile
dfimage -sV=1.36 nginx:latest
下载dfimage镜像
docker pull alpine/dfimage
做别名
alias dfimage="docker run -v /var/run/docker.sock:/var/run/docker.sock --rm alpine/dfimage"
提取nginx镜像Dockerfile
dfimage -sV=1.36 nginx:latest