报错

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
 

GitHub 加速计划 / ha / harbor
23.24 K
4.68 K
下载
Harbor 是一个开源的容器镜像仓库,用于存储和管理 Docker 镜像和其他容器镜像。 * 容器镜像仓库、存储和管理 Docker 镜像和其他容器镜像 * 有什么特点:支持多种镜像格式、易于使用、安全性和访问控制
最近提交(Master分支:2 个月前 )
9e55afbb pull image from registry.goharbor.io instead of dockerhub Update testcase to support Docker Image Can Be Pulled With Credential Change gitlab project name when user changed. Update permissions count and permission count total Change webhook_endpoint_ui Signed-off-by: stonezdj <stone.zhang@broadcom.com> Co-authored-by: Wang Yan <wangyan@vmware.com> 9 天前
3dbfd422 Signed-off-by: wang yan <wangyan@vmware.com> 10 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐