This means that microk8s(which is awesome!) doesn’t support fetching data through pull-through-caches. I’ve read that later versions of containerd does support it but that’s not what microk8s is running in that case. Oh well, now I’ve set my private registry to not be a pull-through-cache because it can’t be that and an ordinary private registry. So now I pull images, tag them with my local registry as the source and push them there:
cjp@amd:~$ docker tag nginx cacher.svealiden.se:5000/nginx:20210925
cjp@amd:~$ docker push cacher.svealiden.se:5000/nginx:20210925
The push refers to repository [cacher.svealiden.se:5000/nginx]
fac15b2caa0c: Pushed
f8bf5746ac5a: Pushed
d11eedadbd34: Pushed
797e583d8c50: Pushed
bf9ce92e8516: Pushed
d000633a5681: Mounted from redis
20210925: digest: sha256:6fe11397c34b973f3c957f0da22b09b7f11a4802e1db47aef54c29e2813cc125 size: 157
Then microk8s can pull them. Maybe this would have gone more quickly without that drink three hours ago?