podman pull ends with error Temporary failure in name resolution #16693
Replies: 11 comments 17 replies
-
Can you ping |
Beta Was this translation helpful? Give feedback.
-
When I run command |
Beta Was this translation helpful? Give feedback.
-
Are you still struggling with this? I had the same problem with resoving the host name and it turned out that podman machine had it's local ip-address as a name server. This discussion https://superuser.com/a/1723529 helped me to solve this. Hope that will help you also, if you still have the problem. |
Beta Was this translation helpful? Give feedback.
-
I fixed it using the following 4 commands:
|
Beta Was this translation helpful? Give feedback.
-
None of the WSL DNS patching methods worked for me. I finally had to resort to using https://github.com/sakai135/wsl-vpnkit to get my
|
Beta Was this translation helpful? Give feedback.
-
This should be a bug. I still see this and the solution suggested above (about editing wsl.conf file) did not work for me. |
Beta Was this translation helpful? Give feedback.
-
I faced the same issue while using podman on Mac. The steps I took to resolve the problem are almost same as above with only one additional step. `% podman machine ssh $ sudo mv /etc/resolv.conf ./ $ echo "nameserver 1.1.1.1" | sudo tee /etc/resolv.conf` |
Beta Was this translation helpful? Give feedback.
-
Even with |
Beta Was this translation helpful? Give feedback.
-
I am behind corporate proxy. I've managed to make it work by adding our proxy settings in the podman desktop app, specifically "Bypass proxy settings for these hosts and domains". Edit: for completion, how can one bypass hosts/domains via CLI podman? |
Beta Was this translation helpful? Give feedback.
-
I had same issue and after many search I found solution and ran podman command with --tls-verify=false option. Below is the example |
Beta Was this translation helpful? Give feedback.
-
We encountered this issue from within a Windows corporate environment where access to the microsoft apps store is disabled. A clever IT admin figured out that following the default WSL install steps ( To make it function we needed the WSL Application that provides Which provides the mirrored networking mode: If you go into your start menu and the WSL icon is a black penguin then you'll want to figure out how to install the WSL app with the blue penguin. Once this app is installed the mirrored networking mode fixes the DNS issue. Short version: In windows, if your wsl icon is a black penguin, figure out how to install this app in your corporate environment. |
Beta Was this translation helpful? Give feedback.
-
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
On Windows I'm trying to use for instance
podman pull alpine:latest
, but I'm getting an error.Steps to reproduce the issue:
podman pull alpine:latest
Describe the results you received:
Describe the results you expected:
Image downloaded
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
latest Windows 11
Beta Was this translation helpful? Give feedback.
All reactions