Unable to properly configure working version of podman. #20780
Replies: 5 comments 1 reply
-
Up, any ideas? 🤷♂️ |
Beta Was this translation helpful? Give feedback.
-
any update ? the same as me |
Beta Was this translation helpful? Give feedback.
-
This looks like it is a podman desktop issue. |
Beta Was this translation helpful? Give feedback.
-
@ashley-cui @l0rd @n1hility PTAL |
Beta Was this translation helpful? Give feedback.
-
@ljnszu @gabrielpantiru can you please provide more informations? What's your version of podman ( And from what I understand there are 2 distinct problems:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use podman on my local machine however I cannot get it to work properly.
First try with normal windows installer:
After installing when trying to "Play pods from a KUbernetes YAML File" I get this error:
"Error: (HTTP code 500) server error - playing YAML file: initializing source docker://redis:latest: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution"
For this I made sure to have the latest wsl (v2) and even tried to update /etc/resolv.conf file in it to 8.8.8.8 but did not worked.

The podman-config.yaml file from this tests:
apiVersion: v1 kind: Pod metadata: name: my-pod41 spec: containers: - name: postgres image: postgres:latest env: - name: POSTGRES_PASSWORD value: POSTGRES_PASSWORD - name: POSTGRES_USER value: POSTGRES_USER - name: POSTGRES_DB value: POSTGRES_DB ports: - containerPort: 5432 hostPort: 5434 - name: nats image: nats:2.9.14-alpine
Second try with installer for restricted environments:
there is a error saying that I need WSL version to be greater than 1.2.5 but lower it says that wsl2 is installed.
When I try to run the command wsl --version it displays the help part of the command, probably since it doesnt recognize the version part.
Can anyone help me with this? Do I need to have version 1 and 2 installed as well?
Obs:
With the installer for restricted enviroments, I was able to pull remote images Eg: redis(Container Engine option did not appeared in this case). I was not able to run the pods because podman was not installed.
With normal installer even when i try to pull a image the container engine appears Podman Machine but I get the error: "Error while pulling image from Podman Machine: access to image "redis" is denied (500 error). Can also be that the registry requires authentication."
If i try to pull the image by selecting docker as Container Engine instead of Podman Machine it is working properly
I need to run any version that will allow me to run 3 containers from a yaml file ( redis, nats and postgres) to make a demo for podman as an alternative to docker. I have no vpn while making these tests.
Anyone can offer some guidance ?
Beta Was this translation helpful? Give feedback.
All reactions