fix quadlet example socket access (#4260)

This commit is contained in:
Echo Nar
2026-08-28 07:25:50 -05:00
committed by GitHub
parent 9f8248206c
commit 8df827ed27
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -37,6 +37,8 @@ ln -s ${XDG_CONFIG_HOME}/containers/systemd/mc@.service ${XDG_CONFIG_HOME}/conta
If running rootless, be sure to enable lingering with `sudo loginctl enable-linger $USER`.
`GroupAdd=0` when rootless the equivalent of the user's group id, not the hosts root.
Also note that source IPs are currently lost due to how rootless podman handles custom networks.
This should be fixed in a future podman release.[^3]
@@ -6,6 +6,7 @@ Image=docker.io/itzg/mc-router
ContainerName=%N
AutoUpdate=registry
UserNS=host
GroupAdd=0
Volume=%t/podman/podman.sock:/var/run/docker.sock:ro
Network=minecraft.network
PublishPort=25565:25565