harbor pull镜像访问不了harbor网页可以登录但是linux登录不了
报错
Error response from daemon: Get "https://harbor.ccbscf.com:18881/v2/": http: server gave HTTP response to HTTPS client
修改、vim /etc/docker/daemon.json
记得加端口号
root@k8s-master-01:~/1017/yaml-all# docker pull harbor.ccbscf.com:18881/hnjg/scf-biz-credit:hnjg-2.0.3-hnjg-2-SNAPSHOT
Error response from daemon: Get "https://harbor.ccbscf.com:18881/v2/": http: server gave HTTP response to HTTPS client
harbor网页可以登录但是linux登录不了,提示密码错误
vim /etc/docker/daemon.json
在insecure-registries加入域名:insecure-registries
"insecure-registries": ["12.0.218.32:5000","12.0.218.32","harbor.boge.com"],
重启docker和harbor
systemctl restart docker
8 看看harbor正常不---不正常就重启harbor---node04
docker-compose ps
docker-compose down -v
docker-compose up -d
docker ps|grep harbor
更多推荐
所有评论(0)