Docker22:发布到阿里云镜像

Docker22:发布到阿里云镜像

Created
Nov 17, 2021 12:06 PM
Last Edited
Last updated April 13, 2022
Tags

1. 创建命名空间

notion image

2. 创建镜像仓库

notion image
选择本地仓库
notion image

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:[镜像版本号]
notion image
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
查看
notion image
 
将上节内容自制tomca镜像发布到阿里云,快多了!🚀
notion image