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
原文地址:https://www.cnblogs.com/jianxgin/p/11404405.html
时间: 2024-11-07 03:14:19