1. 创建命名空间
2. 创建镜像仓库
选择本地仓库
3. 将镜像推送到Registry
$ docker login --username=genghen****@outlook.com registry.cn-hangzhou.aliyuncs.com $ docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/henggaohub/henggao-txt:[镜像版本号] $ docker push registry.cn-hangzhou.aliyuncs.com/henggaohub/henggao-txt:[镜像版本号]
docker login --username=genghenggao@outlook.com registry.cn-hangzhou.aliyuncs.com docker tag feb5d9fea6a5 registry.cn-hangzhou.aliyuncs.com/henggaohub/henggao-txt:1.0 docker push registry.cn-hangzhou.aliyuncs.com/henggaohub/henggao-txt:1.0
查看
将上节内容自制tomca镜像发布到阿里云,快多了!🚀