adamant-kite-43734
04/02/2026, 9:17 AMgreat-city-74149
04/02/2026, 9:17 AM/etc/rancher/k3s/registries.yaml like
mirrors:
"registry.company.internal":
endpoint:
- "<http://registry.company.internal>"
configs:
"registry.company.internal":
tls:
insecure_skip_verify: true
and then run sudo systemctl restart k3s. I have also tried specifying the port number like registry.company.internal:5000, or using the IP instead of the name.great-city-74149
04/02/2026, 9:17 AMping registry.company.internal
# or
curl -v <http://registry.company.internal/v2/>great-city-74149
04/02/2026, 9:18 AM/etc/containerd/config.toml, but apparently that was irrelevant since K3s uses a built-in containerd?great-city-74149
04/02/2026, 9:18 AM/var/lib/rancher/k3s/agent/etc/containerd/certs.d/registry.company.internal/hosts.toml which was
# File generated by k3s. DO NOT EDIT.
server = "<https://registry.company.internal/v2>"
capabilities = ["pull", "resolve", "push"]
skip_verify = true
[host]
[host."<http://registry.company.internal/v2>"]
capabilities = ["pull", "resolve"]
skip_verify = true
and said that the https part on line 3 was the problem, as it actually should be http.
Gemini suggested a few things to try, but after restarting k3s, the "https" would always be the same.great-city-74149
04/02/2026, 9:18 AMhundreds-evening-84071
04/02/2026, 11:38 AMmirrors:
<http://docker.io|docker.io>:
endpoint:
- "<https://registry.company.internal>"
configs:
"registry.company.internal":
tls:
insecure_skip_verify: true
above is what I have and seems to workgreat-city-74149
04/03/2026, 2:59 AMgreat-city-74149
04/07/2026, 8:09 AM