Failed to pull image "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to pull and unpack image "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to resolve reference "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to do request: Head "https://harbor-001.yh:5000/v2/library/docker-demo/manifests/0.0.1-SNAPSHOT": x509: certificate signed by unknown authority
通过docker exec -it kubeasz ezctl start-aio创建 通过ezctl add-node default xxx 添加新节点,启动正常 拉取公共仓库镜像创建pod,正常; 拉取私服镜像,宿主机可以docker login 和docker pull,正常 通过私服创建deployment,但是无法进行拉取(secret已添加并使用),报错如下:
Failed to pull image "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to pull and unpack image "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to resolve reference "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to do request: Head "https://harbor-001.yh:5000/v2/library/docker-demo/manifests/0.0.1-SNAPSHOT": x509: certificate signed by unknown authority
请问,哪里还需要额外设置吗? 谢谢!