DockerHub 镜像仓库远程推送

DockerHub

docker commit -a "zxc" -m "mytest" 22924b70665e test:18.04

将容器 22924b70665e 保存为新的镜像,并添加提交人信息和说明信息

docker tag test:19.04 thomashub/test:18.04

标记本地镜像,将其归入某一仓库

docker push thomashub/test:18.04

推送

私有仓库

"insecure-registries": [
    "harbor.furong.com"
  ]

Linux docker配置文件: /etc/docker/daemon.json
windows:

docker commit -a "zxc" -m "不断增加" 8754f8062a58 arm64v8/ubuntu:v2
docker tag arm64v8/ubuntu:v2 harbor.furong.com/arm64v8/ubuntu:v2
docker login harbor.furong.com -u "${HARBOR_USER_VAR}" -p "${HARBOR_PWD_VAR}"
docker push harbor.furong.com/arm64v8/ubuntu:v2
posted @   thomas_blog  阅读(35)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
历史上的今天:
2022-03-21 DedeCMS顶级栏目导航
2022-03-21 DedeCMS图片路径标签
2022-03-21 DedeCMS标签替换
点击右上角即可分享
微信分享提示