阿里云私有镜像仓库创建

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.4
docker push  registry.cn-hangzhou.aliyuncs.com/test_jiangxin/centos:centos7.4
docker pull registry.cn-hangzhou.aliyuncs.com/test_jiangxin/centos:centos7.4








猜你喜欢

转载自www.cnblogs.com/jianxgin/p/11404405.html