阿里云私有镜像仓库创建

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








posted @ 2019-08-24 13:36  升级打怪之路  阅读(1568)  评论(0编辑  收藏  举报