将本地镜像推送到阿里云

文章目录

  • 创建仓库镜像
  • 登录 并上传
  • 下载上传的

创建仓库镜像

将本地镜像推送到阿里云_第1张图片
将本地镜像推送到阿里云_第2张图片
将本地镜像推送到阿里云_第3张图片
将本地镜像推送到阿里云_第4张图片
将本地镜像推送到阿里云_第5张图片
将本地镜像推送到阿里云_第6张图片
将本地镜像推送到阿里云_第7张图片
利用下面的脚本进行配置
将本地镜像推送到阿里云_第8张图片

登录 并上传

在这里插入图片描述

[root@hadoop100 ~]# docker login --username=13thm registry.cn-hangzhou.aliyuncs.com
Password: 
[root@hadoop100 ~]# docker tag ba78e6d6845c registry-vpc.cn-hangzhou.aliyuncs.com/13thm/test:1.0
[root@hadoop100 ~]# docker push registry.cn-hangzhou.aliyuncs.com/13thm/test:1.0

下载上传的

在这里插入图片描述

[root@hadoop100 ~]# docker pull registry.cn-hangzhou.aliyuncs.com/13thm/test:1.0
1.0: Pulling from 13thm/test
7b1a6ab2e44d: Already exists 
9f5f791023b9: Pull complete 
Digest: sha256:7029500332092c2bb0f6b5d7da66b89af15ef12377f157778fa222cd1aa7f61a
Status: Downloaded newer image for registry.cn-hangzhou.aliyuncs.com/13thm/test:1.0
registry.cn-hangzhou.aliyuncs.com/13thm/test:1.0

将本地镜像推送到阿里云_第9张图片

你可能感兴趣的:(docker,docker)