分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 技术分享

上传Docker镜像到阿里云

发布时间:2023-09-06 02:27责任编辑:熊小新关键词:Docker
 

1.配置阿里云的镜像加速器:https://cr.console.aliyun.com/#/accelerator

2.命令行登录到阿里云的doker仓库,--username为阿里云的用户名

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

3.为本地镜像添加tag

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

在登陆时 出现 unauthorized: authentication required 的错误提示,

按照控制台里的提示我错把阿里云的登陆密码给修改了。其实在这里,在这里。

push一个本地镜像到阿里云仓库:https://www.jianshu.com/p/9b4cae6e3636

Docker镜像上传到阿里云的步骤详解:https://blog.csdn.net/qq_16605855/article/details/79961933

上传Docker镜像到阿里云

原文地址:https://www.cnblogs.com/cxscode/p/10171745.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved