- 登录阿里云Docker Registry
$ sudo docker login --username=xxx@xxx.com registry.cn-hangzhou.aliyuncs.com
- 从Registry中拉取镜像
$ sudo docker pull registry.cn-hangzhou.aliyuncs.com/xxx/xxx:[镜像版本号]
- 将镜像推送到Registry
$ sudo docker login --username=xxx@xxx.com registry.cn-hangzhou.aliyuncs.com
$ sudo docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/xxx/xxx:[镜像版本号]
$ sudo docker push registry.cn-hangzhou.aliyuncs.com/xxx/xxx:[镜像版本号]