1,登录阿里云账号-容器镜像服务-创建镜像仓库
2,登录切记要写完整的目录仓库命不要错不然要报错
docker login --username=阿里云名字 registry.cn-hangzhou.aliyuncs.com/镜像仓库名(test_jiangxin)密码3,例docker tag daocloud.io/library/centos registry.cn-hangzhou.aliyuncs.com/test_jiangxin/centos:centos7.4docker push registry.cn-hangzhou.aliyuncs.com/test_jiangxin/centos:centos7.4docker pull registry.cn-hangzhou.aliyuncs.com/test_jiangxin/centos:centos7.4