华为云SWR私有化部署
镜像构建
docker build -t halo-dev/halo:2.20.0 .
上传镜像
镜像标签
sudo docker tag {镜像名称}:{版本名称} swr.cn-south-1.myhuaweicloud.com/{组织名称}/{镜像名称}:{版本名称}
sudo docker tag halo-dev/halo:2.20.0 swr.cn-south-1.myhuaweicloud.com/shenhuanjie/halo-dev/halo:2.20.0
上传镜像
sudo docker push swr.cn-south-1.myhuaweicloud.com/{组织名称}/{镜像名称}:{版本名称}
sudo docker push swr.cn-south-1.myhuaweicloud.com/shenhuanjie/halo-dev/halo:2.20.0
下载镜像
sudo docker pull swr.cn-south-1.myhuaweicloud.com/{组织名称}/{镜像名称}:{版本名称}
其他方案(待完善)
标签:sudo,cn,Halo,私有化,开发者,镜像,docker,halo,名称 From: https://www.cnblogs.com/shenhuanjie/p/18414335/halo-developer-guide-container-price-deploy