跳至主要內容
私有仓库-Registry

仓库部署

1、Docker部署

docker run -d -p 5000:5000 --restart always --name registry registry
## 访问网址:<http://192.168.180.87:5000/v2/_catalog>

容器技术镜像仓库镜像仓库小于 1 分钟
安装Harbor

前置准备

提前安装DockerDcokerCompose

下载harbor安装包

# 下载Docker Harbor安装包
wget https://ghproxy.com/https://github.com/goharbor/harbor/releases/download/v2.6.2/harbor-offline-installer-v2.6.2.tgz

# 解压安装包
root@cby:~# tar xvf harbor-offline-installer-v2.6.2.tgz  -C /usr/local/
harbor/harbor.v2.6.2.tar.gz
harbor/prepare
harbor/LICENSE
harbor/install.sh
harbor/common.sh
harbor/harbor.yml.tmpl
root@cby:~# cd /usr/local/harbor/

容器技术镜像仓库Harbor大约 4 分钟