Docker-commit镜像提交

docker commit:提交容器副本使之成为一个新的镜像

docker commit -a="作者名" -m="提交的描述信息" 容器id 新建的镜像名称:标签名

例子:docker commit -a="wu-wu" -m="red tomcat"  eb4187f8edd4  mytomcat:1.1

生成一个版本为1.1的名叫mytomcat镜像

原文地址:https://www.cnblogs.com/wu-wu/p/9882930.html