wget https://github.com/goharbor/harbor/releases/download/v2.6.1/harbor-online-installer-v2.6.1.tgz
tar -zxf harbor-online-installer-v2.6.1.tgz
链接:https://pan.baidu.com/s/14lTTca6NL9OODmtOXR8Deg?pwd=zjs8
提取码:zjs8
链接:https://caiyun.139.com/m/i?1F5C26g7BvliG
提取码:PohT
cp harbor.yml.tmpl harbor.yml
vi harbor.yml
./prepare
./install.sh
docker ps
命令看到启动了很多docker服务docker-compose up -d
vi /etc/docker/daemon.json
"insecure-registries" : ["harbor地址"]
docker tag nginx 182.61.37.116/demos/nginx
docker login 182.61.37.116
docker push 182.61.37.116/demos/nginx