使用命令:docker commit-a "xxxx" -m "xxxx" nginx test1 创建镜像解析:docker commit 创建命令 , –a:制作人 ,–m:镜像信息 , nginx:已有容器名字 , test1:生成的镜像名称