当前位置:网站首页>Push the image to the Alibaba Cloud private warehouse
Push the image to the Alibaba Cloud private warehouse
2022-07-30 01:27:00 【Cappuccino - Haichen】
目录
一、Push the image to the Alibaba Cloud private warehouse
3、Click on the mirror repository to create it yourself
4、Click on the created repository name
一、Push the image to the Alibaba Cloud private warehouse
1、个人实例
请登录阿里云登录 - 欢迎登录阿里云,安全稳定的云计算服务平台,

创建个人实例,Enter the password and record it for future use.After the creation is complete, the running status is running.
2、点击个人实例

3、Click on the mirror repository to create it yourself

4、Click on the created repository name

4.1. 登录阿里云Docker Registry
$ docker login --username=ceam registry.cn-hangzhou.aliyuncs.com用于登录的用户名为阿里云账号全名,密码为开通服务时设置的密码.
您可以在访问凭证页面修改凭证密码.
4.2. 从Registry中拉取镜像
$ docker pull registry.cn-hangzhou.aliyuncs.com/test-cloud-1/test-cloud:[镜像版本号]4.3. 将镜像推送到Registry
$ docker login --username=ceam registry.cn-hangzhou.aliyuncs.com$ docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/test-cloud-1/test-cloud:[镜像版本号]$ docker push registry.cn-hangzhou.aliyuncs.com/test-cloud-1/test-cloud:[镜像版本号]
请根据实际镜像信息替换示例中的[ImageId]和[镜像版本号]参数.
4.4. 选择合适的镜像仓库地址
从ECS推送镜像时,可以选择使用镜像仓库内网地址.推送速度将得到提升并且将不会损耗您的公网流量.
如果您使用的机器位于VPC网络,请使用 registry-vpc.cn-hangzhou.aliyuncs.com 作为Registry的域名登录.
4.5. 示例
使用"docker tag"命令重命名镜像,并将它通过专有网络地址推送至Registry.
$ docker imagesREPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZEregistry.aliyuncs.com/acs/agent 0.7-dfb6816 37bb9c63c8b2 7 days ago 37.89 MB$ docker tag 37bb9c63c8b2 registry-vpc.cn-hangzhou.aliyuncs.com/acs/agent:0.7-dfb6816
使用 "docker push" 命令将该镜像推送至远程.
$ docker push registry-vpc.cn-hangzhou.aliyuncs.com/acs/agent:0.7-dfb68165、实操
5.1、先登录,Enter the password when creating the personal instance,After successful login, execute a command similar to the following

5.2、镜像版本

It can be seen that the push is successful
边栏推荐
- MATLAB被禁下一个会是LABVIEW吗?国产测试软件ATECLOUD崛起发力
- Validation Framework-01
- 手把手教你实现一个流动的渐变色边框
- How to set up hybrid login in SQL server in AWS
- CMake Tutorial Tour(0)_Overview
- 【Flutter】Flutter inspector 工具使用详解,查看Flutter布局,widget树,调试界面等
- 这是一道非常有争议的题,我的分析如下: TCP/IP在多个层引入了安全机制,其中TLS协议位于______。 A.数据链路层 B.网络层 C.传输层 D.应用层
- 网络原理 基础知识
- Object.freeze()学习
- Recommendation system: collection of user "behavioral data" [use Kafka and Cassandra to process data] [if it overlaps with business data, it also needs to be collected independently]
猜你喜欢

【微服务~Nacos】Nacos之配置中心

nacos集群配置详解

Recommendation system: collection of user "behavioral data" [use Kafka and Cassandra to process data] [if it overlaps with business data, it also needs to be collected independently]

自学HarmonyOS应用开发(49)- 引入地图功能
![2022-07-29:一共有n个人,从左到右排列,依次编号0~n-1, h[i]是第i个人的身高, v[i]是第i个人的分数, 要求从左到右选出一个子序列,在这个子序列中的人,从左到右身高是不下降的。](/img/a0/998fb7edca5ebe5d9b1d1e8b705faa.png)
2022-07-29:一共有n个人,从左到右排列,依次编号0~n-1, h[i]是第i个人的身高, v[i]是第i个人的分数, 要求从左到右选出一个子序列,在这个子序列中的人,从左到右身高是不下降的。

【微服务~Nacos】Nacos服务提供者和服务消费者

Recommendation systems: feature engineering, common features

exness:美国GDP萎缩,日元反弹受捧

Meetings OA To Be Meeting && All Meetings

CMake Tutorial 巡礼(1)_基础的起点
随机推荐
这是一道非常有争议的题,我的分析如下: TCP/IP在多个层引入了安全机制,其中TLS协议位于______。 A.数据链路层 B.网络层 C.传输层 D.应用层
聊聊性能测试环境搭建
Navicat for mysql crack version installation
Fabric 私有数据案例
Finding a 2D Array
裁员趋势下的大厂面试:“字节跳动”
Validation Framework-01
把@Transactional事务注解用到如此炉火纯青,真的强!
string replace spaces
泰克Tektronix示波器软件TDS210|TDS220|TDS224上位机软件NS-Scope
「MySQL」- 基础增删改查
TCP/IP 常见问题
自学HarmonyOS应用开发(56)- 用Service保证应用在后台持续运行
LeetCode 2352. 相等行列对
LeetCode/Scala - without the firstborn of the string of characters, the longest text string back
经典毕业设计:基于SSM实现高校后勤报修系统
sublime 背景透明度以及列编辑
exness:美国GDP萎缩,日元反弹受捧
LeetCode 2342. 数位和相等数对的最大和
JS开发3D建模软件