搭建本地镜像仓库和harbor

安装本地镜像仓库

一、docker pull registry:2git

二、docker run -d -p 5000:5000 registry:2github

三、docker tag zookeeper:3.5 localhost:5000/zookeeper:3.5docker

四、docker push localhost:5000/zookeeper:3.5cdn

安装harbor

在github上下载harbor的线下安装包blog

一、进入到harbor,修改harbor.cfg中到hostname 二、进入docker-compose.yml,修改一些配置,保存推出后,./install.sh运行

相关文章
相关标签/搜索