+1
Installed a docker-registry with authentication disabled. Got a Jenkins pipeline successfully pushing the images. Can see them from a busybox pod with curl.
However, deployment would fail with a pod error:
Warning Failed 16s (x2 over 17s) kubelet Error: ImagePullBackOff
Normal Pulling 4s (x2 over 18s) kubelet Pulling image "docker-registry.docker-registry.svc.cluster.local
5000/validate label32"
Warning Failed 4s (x2 over 18s) kubelet Failed to pull image "docker-registry.docker-registry.svc.cluster.local
5000/validate label32": Error response from daemon: Get "
https://docker-registry.docker-registry.svc.cluster.local:5000/v2/": dial tcp: lookup docker-registry.docker-registry.svc.cluster.local: no such host
Tried creating a bash script
#!/bin/sh
echo DOCKER_OPTS="--insecure-registry=docker-registry.docker-registry.svc.cluster.local:5000" >> /etc/conf.d/docker
in the
%LOCALAPPDATA%\rancher-desktop\provisioning Windows folder
Wouldn't help so far.