Click here to Skip to main content
15,665,276 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have three servers:

1 master: k8s
1 node: k8s
1 rancher: rancher 2.6

I have created a docker image (private registry docker) on the node used
Both master and node pushed and pulled to the image. But used rancher deploy set image then error:

Failed to pull image "": rpc error: code = Unknown desc = failed to pull and unpack image "": failed to resolve reference "": failed to do request: Head "": http: server gave HTTP response to HTTPS client.

My image used
http not https. But the rancher sends HTTPS.
[This is image problem][1]

What I have tried:

I have config in <pre>/etc/docker/daemon.json

"insecure-registries" : [""]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900