Closed jslay88 closed 2 years ago
The correct configuration is
mirrors:
"docker.home.jslay.net:5000":
endpoint:
- "http://docker.home.jslay.net:5000"
Where as the documentation is quite misleading and shows:
mirrors:
mycustomreg.com:
endpoint:
- "https://mycustomreg.com:5000"
Trying to get k3os running in my home lab, for which I have an insecure docker registry. I know the registry works, as it has existed for some time now, and I am pulling images from it with other Docker hosts in the network, configured to use it as an insecure registry. Following rancher/k3os#396 , I have been trying to get this working on cloud-init.yaml, on fresh instances (not existing k3os instances).
However, with k3os, I have had no such luck coming from a cloud-init.yaml
cloud-init.yaml
When trying to pull an image from my private registry, it tries to pull using HTTPS and I receive the following error