上傳至阿裡雲
https://cr.console.aliyun.com
賬号為支付寶賬号 密碼wwww,這是自己的賬号密碼。
首先建立命名空間其次建立鏡像倉庫
鏡像倉庫設定為helloworld,代碼源選擇本地倉庫
登陸;
$ sudo docker login --username=qqq registry.cn-beijing.aliyuncs.com
推送
$ sudo docker login --username=qqq registry.cn-beijing.aliyuncs.com
[[email protected] ~]#sudo docker tag hello-world:latest registry.cn-beijing.aliyuncs.com/mytestdata/helloworld:v1.1
[[email protected] ~]#sudo docker push registry.cn-beijing.aliyuncs.com/mytestdata/helloworld:v1.1
拉取
[[email protected] ~]#sudo docker pull registry.cn-beijing.aliyuncs.com/mytestdata/helloworl