| ▲ | egeres a day ago | |
I wasn't able to pull some images and I lost 1h trying to diagnose network problems in my setup, but it didn't occur to me that "la liga" was the root cause . My workaround was to add "registry-mirrors": ["https://mirror.gcr.io"] in my /etc/docker/daemon.json | ||
| ▲ | chaz6 a day ago | parent | next [-] | |
This is the correct answer. Something that confused me for a while was the path "docker.io" used for pulling containers. There is not actually a container registry at "docker.io" - rather docker and podman are hard coded to convert it to either "registry-1.docker.io" or "index.docker.io". | ||
| ▲ | matt_kantor a day ago | parent | prev [-] | |
Depending on your use case, you may not require a hosted registry at all. You could instead push images to your servers from wherever they're built. I use a little script[0] to automate that when deploying some personal projects, but really it could be as simple as `docker save`/`scp`/`docker load` (especially for a one-off situation or when the images are small). | ||