I have three servers:
1 master: 192.168.1.131 k8s
1 node: 192.168.1.132 k8s
1 rancher: 192.168.1.133 rancher 2.6
I have created a docker image (private registry docker) on the node used 192.168.1.132:5000/test.
Both master and node pushed and pulled to the image. But used rancher deploy set image 192.168.1.132:5000/test then error:
Failed to pull image "192.168.1.132:5000/test-demo": rpc error: code = Unknown desc = failed to pull and unpack image "192.168.1.132:5000/test-demo:latest": failed to resolve reference "192.168.1.132:5000/test-demo:latest": failed to do request: Head "https://192.168.1.132:5000/v2/test-demo/manifests/latest": http: server gave HTTP response to HTTPS client.
My image used
http not https. But the rancher sends HTTPS.
[This is image problem]
What I have tried:
I have config in <pre>/etc/docker/daemon.json
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)