Ali cloud private warehouse to create a mirror

1, Ali cloud account login - container mirror service - create a mirror warehouse  

2, remember to log in to write a complete catalog warehouse order not to be wrong or else an error

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








Guess you like

Origin www.cnblogs.com/jianxgin/p/11404405.html