上傳Docker鏡像到阿里雲

 

1.配置阿里雲的鏡像加速器:https://cr.console.aliyun.com/#/acceleratornginx

2.命令行登陸到阿里雲的doker倉庫,--username爲阿里雲的用戶名
docker

docker login --username=cheergoivan registry.cn-hangzhou.aliyuncs.com

3.爲本地鏡像添加tagui

docker tag f4ec85e8298f registry.cn-hangzhou.aliyuncs.com/cheergoivan/mynginx:0.1

4.push到docker倉庫阿里雲

docker push registry.cn-hangzhou.aliyuncs.com/cheergoivan/mynginx:0.1

5.登陸阿里雲查看已上傳的鏡像列表:https://cr.console.aliyun.com/#/imageList.net

 

在登錄時 出現 unauthorized: authentication required 的錯誤提示,命令行

按照控制檯裏的提示我錯把阿里雲的登錄密碼給修改了。其實在這裏,在這裏。blog

 

push一個本地鏡像到阿里雲倉庫:https://www.jianshu.com/p/9b4cae6e3636get

Docker鏡像上傳到阿里雲的步驟詳解:https://blog.csdn.net/qq_16605855/article/details/79961933io

相關文章
相關標籤/搜索