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