podman-desktop: Podman Desktop WSL2 image does not appear to have internet connectivity (unlike Docker Desktop's WSL2 image connectivity which is fine)
Bug description
podman pull docker.io/hello-world Trying to pull docker.io/hello-world… Error: initializing source docker://docker.io/hello-world: pinging container registry docker.io: Get “https://docker.io/v2/”: dial tcp: lookup docker.io: Temporary failure in name resolution
Operating system
Windows 11
Version
0.10.0
Steps to reproduce
podman pull docker.io/hello-world
Relevant log output
Trying to pull docker.io/hello-world...
Error: initializing source docker://docker.io/hello-world: pinging container registry docker.io: Get "[https://docker.io/v2/":](https://docker.io/v2/%22:) dial tcp: lookup docker.io: Temporary failure in name resolution
Additional context
docker pull docker.io/hello-world Using default tag: latest latest: Pulling from library/hello-world 2db29710123e: Pull complete Digest: sha256:c77be1d3a47d0caf71a82dd893ee61ce01f32fc758031a6ec4cf1389248bb833 Status: Downloaded newer image for hello-world:latest docker.io/library/hello-world:latest
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 20 (4 by maintainers)
I no longer have this issue when I’m using
user-mode-networkingin the podman machine (introduced by podman 4.6.0).Just initialize the machine using:
podman machine init --user-mode-networking