!SEjxdEhDPWoPxzjWCX:matrix.org

Podman

1071 Members
Podman (https://podman.io) is a tool for running PODS and OCI Containers on Linux. Mailing lists at lists.podman.io. Current version 5.0.0. Bridged with the #podman channel on Podman's Discord(https://discord.gg/x5GzFF6QH4). The bridge with #podman on Libera has been temporarily suspended, but we now have a `Podman Relay` in place.66 Servers

Load older messages


SenderMessageTime
22 Apr 2024
@lucas_sr:matrix.org@lucas_sr:matrix.org left the room.00:21:12
@sarosa:infosec.exchangeSarosa joined the room.02:34:02
@baerentoeter:matrix.orgbaerentoeter
In reply to @baerentoeter:matrix.org
hi guys, im - again - having issues with podman (5.0.0) and selinux: i have a container that starts an sshd on port 22022 using network_mode: host. it works perfeclty fine when selinux is in permissive mode, but i cannot connect to the server when selinux is in enforcing mode. i have followd the steps from https://access.redhat.com/documentation/de-de/red_hat_enterprise_linux/8/html/using_selinux/creating-selinux-policies-for-containers_using-selinux but installing the policy generated by udica fails with "Failed to resolve typeattributeset statement at /etc/selinux/targeted/tmp/modules/400/base_container/cil:6" any ideas?
i have asked the same question in the fedora silverblue channel and i was told that i have to install some udica templates first before i can actually install some policy-sets generated by udica (this basically makes sense to me). however, i don't find any documentation what templates i have to install... is there anyone out there having experience in dealing with udica?
06:10:43
@jbtrystram:matrix.orgjbtrystram joined the room.08:22:41
@jbtrystram:matrix.orgjbtrystram Hi all !
I am working on this PR but I have an issue running the integrations tests locally for quadlet . Is there a container with all the necessary dependencies I could run ?
08:24:00
@luap99:holzinger.devPaul Holzinger jbtrystram: What errors? I don't think the quadlet tests need any special dependencies. 09:42:40
@luap99:holzinger.devPaul Holzinger you can use something like make localintegration FOCUS_FILE=quadlet_test.go to only run the quadlet tests 09:43:49
@jbtrystram:matrix.orgjbtrystram Paul Holzinger: thanks, ill give it a go. I was getting parrallelization errors at some point. 10:41:08
@guerteltier:fedora.imJonathan λ joined the room.10:45:21
@jbtrystram:matrix.orgjbtrystram Paul Holzinger: i am getting permissions errors: newuidmap: write to uid_map failed
Note that I am running that from withion a toolbox which have podman redirected to flatpak-spawn --host podman
11:20:53
@luap99:holzinger.devPaul Holzinger jbtrystram: yeah this will most likely not work in toolbox, we run the compiled binary in the the tests so it will not use your redirect. 11:29:27
@sebtm:lodere.esSebTM joined the room.19:44:07
@sebtm:lodere.esSebTMHey 👋19:46:33
@sebtm:lodere.esSebTMI have an issue since the podman 4 (info/unshare: https://pastebin.com/6Yc9yqtN) -> 5 (info/unshare: https://pastebin.com/tK7safLk) upgrade of my rootless-podman on NixOS: When I'm connected to a vpn (via ProtonVPN app / NetworkManager) the interface used by the bridge / listed in unshare is "ipv6leakintrf0" instead of "tun0" (from the vpn) - before (v4) there was always a tap0 showen with podman unshare. How can I solve this? I want to run rootless-podman but need to be connected to vpn/the container to use the vpn-connection when connected.20:15:36
@sebtm:lodere.esSebTM * I have an issue since the podman 4 (info/unshare: https://pastebin.com/6Yc9yqtN) -> 5 (info/unshare: https://pastebin.com/tK7safLk) upgrade of my rootless-setup on NixOS: When I'm connected to a vpn (via ProtonVPN app / NetworkManager) the interface used by the bridge / listed in unshare is "ipv6leakintrf0" instead of "tun0" (from the vpn) - before (v4) there was always a tap0 showen with podman unshare. How can I solve this? I want to run rootless-podman but need to be connected to vpn/the container to use the vpn-connection when connected.20:15:50
@sebtm:lodere.esSebTM * I have an issue since the podman 4 (info/unshare: https://pastebin.com/6Yc9yqtN) -> 5 (info/unshare: https://pastebin.com/tK7safLk) upgrade of my rootless-setup on NixOS: When I'm connected to a vpn (via ProtonVPN app / NetworkManager) the interface used by the bridge / listed in unshare is "ipv6leakintrf0" instead of "tun0" (from the vpn) - before (v4) there was always a tap0 showen with podman unshare. It appears from podman info that both versions (same config) use the "networkBackend: netavark" so I would expect it to behave similar. How can I solve this? I want to run rootless-podman but need to be connected to vpn/the container to use the vpn-connection when connected.20:16:49
@sebtm:lodere.esSebTM * I have an issue since the podman 4 (info/unshare: https://pastebin.com/6Yc9yqtN) -> 5 (info/unshare: https://pastebin.com/tK7safLk) upgrade of my rootless-setup on NixOS: When I'm connected to a vpn (via ProtonVPN app / NetworkManager) the interface used by the bridge / listed in unshare is "ipv6leakintrf0" instead of "tun0" (from the vpn) - before (v4) there was always a tap0 showen with podman unshare. It appears from podman info that both versions (same config) use the "networkBackend: netavark" so I would expect it to behave similar. How can I solve this? I want to run rootless-podman but need to be connected to vpn/the container to use the vpn-connection/dns provided by the vpn when connected like before.20:18:08
23 Apr 2024
@sebtm:lodere.esSebTM
In reply to @sebtm:lodere.es
I have an issue since the podman 4 (info/unshare: https://pastebin.com/6Yc9yqtN) -> 5 (info/unshare: https://pastebin.com/tK7safLk) upgrade of my rootless-setup on NixOS: When I'm connected to a vpn (via ProtonVPN app / NetworkManager) the interface used by the bridge / listed in unshare is "ipv6leakintrf0" instead of "tun0" (from the vpn) - before (v4) there was always a tap0 showen with podman unshare. It appears from podman info that both versions (same config) use the "networkBackend: netavark" so I would expect it to behave similar. How can I solve this?

I want to run rootless-podman but need to be connected to vpn/the container to use the vpn-connection/dns provided by the vpn when connected like before.
Figured my issues out - appears podman 4 -> 5 switched from slirp4netns to pasta by default which breaks it for me as pasta uses the ipv6leak interface instead of tun0 - will look further into pasta-config but for now this solves my issues: https://github.com/containers/podman/issues/22044#issuecomment-2009255504
06:08:24
@ryanabx2:matrix.orgRyan Brue (ryanabx) joined the room.06:54:06
@potatodoggo:matrix.orgdoggoDo I need SELinux on a Arch server to run rootless podman?07:57:38
@sebtm:lodere.esSebTM

Hey, using docker-compose with podman (directly and with podman compose) results in:

Apr 23 10:48:00 bsPF1201 podman[171278]: 2024-04-23 10:48:00.460508956 +0200 CEST m=+32.372509043 image pull-error  xyz.de:4567/xyz/abc/image:1.0.2 initializing source docker://xyz.de:4567/xyz/abc/image:1.0.2: Get "https://xyz.de:4567/xyz/abc/image/manifests/1.0.2": dial tcp: lookup xyz.de: Temporary failure in name resolution

it appears to not happen with podman-compose (which I can't use so far because of missing features) - trying to limit the parallel actions/increase retry via engine and docker-compose --parallel 6 pull seems to not help either. Someone an idea?

09:04:29
@sebtm:lodere.esSebTM *

Hey, using docker-compose with podman (directly and with podman compose) results in:

Apr 23 10:48:00 bsPF1201 podman[171278]: 2024-04-23 10:48:00.460508956 +0200 CEST m=+32.372509043 image pull-error  xyz.de:4567/xyz/abc/image:1.0.2 initializing source docker://xyz.de:4567/xyz/abc/image:1.0.2: Get "https://xyz.de:4567/xyz/abc/image/manifests/1.0.2": dial tcp: lookup xyz.de: Temporary failure in name resolution

it appears to not happen with podman-compose (which I can't use so far because of missing features) - trying to limit the parallel actions/increase retry-delay via engine-config and docker-compose --parallel 6 pull seems to not help either. Someone an idea?

How can I verify engine-config - it does not appear in podman info but I see the entries in /etc/containers/containers.conf:

[engine]
image_parallel_copies = 3
retry_delay = "4s"
09:06:14
@sebtm:lodere.esSebTM *

Hey, using docker-compose with podman (directly and with podman compose) results in:

Apr 23 10:48:00 bsPF1201 podman[171278]: 2024-04-23 10:48:00.460508956 +0200 CEST m=+32.372509043 image pull-error  xyz.de:4567/xyz/abc/image:1.0.2 initializing source docker://xyz.de:4567/xyz/abc/image:1.0.2: Get "https://xyz.de:4567/xyz/abc/image/manifests/1.0.2": dial tcp: lookup xyz.de: Temporary failure in name resolution

it appears to not happen with podman-compose (which I can't use so far because of missing features) - trying to limit the parallel actions/increase retry-delay via engine-config and docker-compose --parallel 6 pull seems to not help either. Someone an idea?

How can I verify engine-config? It does not appear in podman info but I see the entries in /etc/containers/containers.conf:

[engine]
image_parallel_copies = 3
retry_delay = "4s"
09:06:27
@sebtm:lodere.esSebTM
In reply to @sebtm:lodere.es

Hey, using docker-compose with podman (directly and with podman compose) results in:

Apr 23 10:48:00 bsPF1201 podman[171278]: 2024-04-23 10:48:00.460508956 +0200 CEST m=+32.372509043 image pull-error  xyz.de:4567/xyz/abc/image:1.0.2 initializing source docker://xyz.de:4567/xyz/abc/image:1.0.2: Get "https://xyz.de:4567/xyz/abc/image/manifests/1.0.2": dial tcp: lookup xyz.de: Temporary failure in name resolution

it appears to not happen with podman-compose (which I can't use so far because of missing features) - trying to limit the parallel actions/increase retry-delay via engine-config and docker-compose --parallel 6 pull seems to not help either. Someone an idea?

How can I verify engine-config? It does not appear in podman info but I see the entries in /etc/containers/containers.conf:

[engine]
image_parallel_copies = 3
retry_delay = "4s"
From the podman-compose output I would assume it's only pulling one image at a time, can someone confirm this?
09:27:59
@chasinglogic:matrix.orgchasinglogic joined the room.14:36:53
@blackfile:matrix.orgLuis Manuel joined the room.20:13:51
@leandrocunha6710:matrix.orgLeandro joined the room.20:45:28
24 Apr 2024
@l1a:matrix.orgKen joined the room.06:06:26
@jbtrystram:matrix.orgjbtrystram So since I failed to run the tests for podman from within a toolbox container, I tried to spin up a VM of fedora.
Installed go, make, automake and the others specified in the contributing.md file
set $GOPATH
ran make install.tools
make binaries fails with chcon: failed to change context of 'bin/podman' to ‘unconfined_u:object_r:container_runtime_exec_t:s0’: Invalid argument
08:19:32
@jbtrystram:matrix.orgjbtrystramoh sorry I had missed https://podman.io/docs/installation#build-and-run-dependencies my bad08:31:09

There are no newer messages yet.


Back to Room ListRoom Version: 6