Docker Community Forums

Share and learn in the Docker community.

Cannot pull from


I cannot pull from from my personal computer (windows 10 / WSL2, Docker Desktop / edge), on my private network with no proxy, either using docker or podman, the certificate I receive does not match the hostname [1].

When I browse to that URL with my phone, on the same network, I get another certificate which is valid.

Can anyone try to help me to understand what is happening?



Here are the docker and podman command I used:

Ok, I’ve finally managed to find out that time ago I has create a multistage docker build, the first stage could not see and I added some registry IP to my hosts file and forgot to remove them, there are not valid anymore but was still there, cleaning my host file resolved my issue, I keep that topic here in case something that’s stupid occurs to someone else.