podman pull does not work #22501
Karotte128
started this conversation in
General
Replies: 3 comments 13 replies
-
This is not a podman problem, your LXC or whatever likely blocks networking. |
Beta Was this translation helpful? Give feedback.
6 replies
-
|
Also seeing this here on Ubuntu 25.10 with an Incus Ubuntu 24.04 guest. Is there a preferred way forward? It is certainly the host's AppArmor that defeats Podman in the guest. $ incus storage set default volume.zfs.delegate true
$ incus launch images:ubuntu/noble u1 -c security.nesting=true -c security.syscalls.intercept.mknod=true -c security.syscalls.intercept.setxattr=true
$ incus exec u1 -- podman run --rm hello-world
Resolved "hello-world" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/hello-world:latest...
Error: initializing source docker://hello-world:latest: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 127.0.0.53:53: dial udp 127.0.0.53:53: socket: permission denied$ sudo dmesg | tail -n 1
[207277.805695] audit: type=1400 audit(1761801363.391:1457): apparmor="DENIED" operation="create" class="net" info="failed af match" error=-13 namespace="root//incus-u1_<var-lib-incus>" profile="podman" pid=779629 comm="podman" family="inet" sock_type="dgram" protocol=0 requested="create" denied="create"The same happens with using
|
Beta Was this translation helpful? Give feedback.
6 replies
-
|
removing the file /etc/apparmor.d/podman finally solved the issue for me. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
podman pull results in
Error: initializing source docker://libary/ubuntu:latest: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 192.168.178.1:53: dial udp 192.168.178.1:53: socket: permission deniedSteps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Error: initializing source docker://libary/ubuntu:latest: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 192.168.178.1:53: dial udp 192.168.178.1:53: socket: permission deniedDescribe the results you expected
podman should pull the container image
podman info output
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
podman is running in proxmox lxc container
Additional information
this worked until now, after a reboot it was broken
Beta Was this translation helpful? Give feedback.
All reactions