查看镜像构建历史 docker history 2b2cc1f48aed 发布镜像到阿里云 图片来自互联网 docker commit -a stonehu -m "new centos with vim and ifconfig from centos" 0d0cb5f308ac mycentos:1.4 sudo docker login --username=stonehu119 registry.cn-hangzhou.aliyuncs.com sudo docker tag cbc6d72db8d7 registry.cn-hangzhou.aliyuncs.com/stonehu/mycentos:1.4.1 sudo docker push registry.cn-hangzhou.aliyuncs.com/stonehu/mycentos:1.4.1 docker pull registry.cn-hangzhou.aliyuncs.com/stonehu/mycentos:1.4.1