Docker镜像仓库自建仓库的必要性
Harbor镜像仓库的搭建
Harbor离线版安装下载地址
安装命令
配置更改harbor.yml
安装Harbor,并验证
Harbor的重启
登录镜像仓库
Docker配置使用自建仓库
配置允许访问http仓库/etc/docker/daemon.json
{ "registry-mirrors": ["http://hub-mirror.c.163.com/","http://192.168.237.50/"], "insecure-registries":["http://192.168.237.50"] }
推送镜像到自建仓库
从自建仓库中拉取镜像
Harbor重启镜像不会丢失
原文:https://www.cnblogs.com/faberbeta/p/12861032.html