1.登陆阿里云 镜像服务,跟着指引操作就行
创建个人实例,创建命名空间、镜像仓库,绑定代码源头
2.将镜像推送到Registry
$ docker login --username=*** registry.cn-beijing.aliyuncs.com
$ docker tag [ImageId] registry.cn-beijing.aliyuncs.com/yuluotest/yltest:[镜像版本号]
$ docker push registry.cn-beijing.aliyuncs.com/yuluotest/yltest:[镜像版本号]
3.从Registry中拉取镜像,需要先登陆,再pull
docker pull registry.cn-beijing.aliyuncs.com/yuluotest/yltes:5.16.20
3.命令参考链接
容器镜像服务->实例列表->镜像仓库->基本信息