Skip to content

Support podman#2584

Draft
yorickdowne wants to merge 1 commit into
ethstaker:mainfrom
yorickdowne:support-podman
Draft

Support podman#2584
yorickdowne wants to merge 1 commit into
ethstaker:mainfrom
yorickdowne:support-podman

Conversation

@yorickdowne
Copy link
Copy Markdown
Collaborator

@yorickdowne yorickdowne commented Apr 28, 2026

What I did

Add logic that detects podman and sets .env variables accordingly. A user with both docker and podman installed would be using podman, if the podman socket is available, and Docker otherwise.

Logging in compose files no longer specifies a driver, and uses fields that both Docker and Podman support. Specifically, the log tag changes from '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}' to '{{.ImageName}}|{{.Name}}|{{.ID}}'

@yorickdowne yorickdowne force-pushed the support-podman branch 5 times, most recently from 6a2633b to b7a8a42 Compare April 29, 2026 00:19
@yorickdowne yorickdowne marked this pull request as draft April 29, 2026 00:42
@yorickdowne yorickdowne force-pushed the support-podman branch 10 times, most recently from f60d35b to e18a116 Compare April 29, 2026 14:02
@yorickdowne yorickdowne requested a review from pietjepuk2 April 29, 2026 14:02
@yorickdowne yorickdowne marked this pull request as ready for review April 29, 2026 14:02
@yorickdowne yorickdowne marked this pull request as draft May 4, 2026 10:04
@yorickdowne yorickdowne marked this pull request as ready for review May 5, 2026 04:30
@yorickdowne
Copy link
Copy Markdown
Collaborator Author

Networking in podman is very challenging. This does not currently work well and should be revisited with Podman 6 in late May / early June.

@yorickdowne yorickdowne marked this pull request as draft May 8, 2026 06:48
@yorickdowne
Copy link
Copy Markdown
Collaborator Author

Archer tested this, and their findings are:
"I went ahead and compiled the incoming podman & passt/pasta/pesto & netavark/aardvark-dns, and this is what I get now:

INFO p2p: Connected peers inboundQUIC=166 inboundTCP=11 outboundQUIC=12 outboundTCP=22 target=200 total=211

This is without modifying anything on eth-docker side, also inter-container communication works as expected

So incoming podman 6 should be good to use for rootless mode, the only change needed would be using the new containers.conf option rootless_network_port_forwarder="pasta" "

Documentation would need to note that this is v4-only, it does not work with v6 dual-stack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant