当前位置:网站首页>将本地镜像发布到阿里云仓库
将本地镜像发布到阿里云仓库
2022-07-23 17:36:00 【小码哥呀】
案例1:
基于下载安装的基本的centos系统,构建一个新的镜像,新功能增强,并将该镜像发布到阿里云仓库

1、登录阿里云
登录阿里云,进入控制台,选择镜像服务。

2、选择个人实例

3、创建命名空间

4、创建仓库

5、创建成功,进入管理页面获取脚本

6、将本地镜像发布到阿里云仓库
docker images
docker login --username=alicui66 registry.cn-hangzhou.aliyuncs.com
docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/cuinj/myubuntu:[镜像版本号]
docker push registry.cn-hangzhou.aliyuncs.com/cuinj/myubuntu:[镜像版本号]

7、从阿里云仓库拉取镜像
docker pull registry.cn-hangzhou.aliyuncs.com/cuinj/myubuntu:[镜像版本号]
- 首先删除本地的镜像

- 然后从阿里云拉取镜像

边栏推荐
- Moxa serial server model, moxa serial server product configuration instructions
- Ros2 self study notes: rviz visualization tool
- 看完这篇,彻底搞懂 gRPC!
- Fragment
- Alibaba's latest masterpiece! It took 187 days for the liver to come out. 1015 pages of distributed full stack manuals are so delicious
- Four principles of interface design
- 树莓派ssh登录
- Rapid establishment of devstack cloud computing platform
- Tuple error caused by different regularization
- Perl语言简述
猜你喜欢

TODO FIXME BUG TAG FEATURE 等配置

Access intranet rds+mysql through SSH

Implementation of SPI communication protocol based on FPGA
![[machine learning] Wu Enda: lifelong learning](/img/f2/a729c026ed55506e63878d0d317676.jpg)
[machine learning] Wu Enda: lifelong learning

Four principles of interface design

Design of UART interface based on FPGA

There is great competition pressure for software testing jobs, and the "migrant workers" who graduated from 985 also suffer

树莓派ssh登录

多线程&高并发(全网最新:面试题+导图+笔记)面试手稳心不慌
![[C language] program environment and preprocessing](/img/5c/7f14c73e075a54a11d7ff44907c30d.jpg)
[C language] program environment and preprocessing
随机推荐
11.神经网络基本概念
Three ways to realize multithreading
Moxa serial server model, moxa serial server product configuration instructions
小鱼送激光雷达啦 | 恰饭即抽奖第一期
VB connecting access database customization
TCL scripting language foundation (2)
在Hyper-V中手动将.avhd合并到.vhd
Detailed explanation of TCL scripting language (1)
人脸识别系统技术方案
How can mysqldump export content without comments?
Using FRP to achieve intranet penetration
Application of jishili electrometer in testing scheme of new energy battery
Conception de l'interface UART basée sur la FPGA
一、爬虫概念及基本流程
Multithreading and high concurrency Day11
时代潮头,华为将风帆对准数字金融的风与海
[shutter -- layout] linear layout (row and column)
TCL脚本语言详解(1)
【机器学习】吴恩达:终生学习
Source code analysis of ThreadPoolExecutor