Use or /run/udev mount in Docker Compose file #26408
cbrunnkvist
started this conversation in
General
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I needed to run Z2M under Podman inside a Proxmox-hosted LXC. This caused a few issues, most annoyingly the zigbee2mqtt container wasn't starting, despite using a
compose.yml
pretty much unmodified from what is suggested in the docs (=what I've always used elsewhere without problem).Long story short: The main issue was
/run/udev/
not being available - at least not after a reboot. The first time Podman created containers, it worked. But something-something probably related to systemd/udevd/namespace/sessions prevented the stack from ever starting again until manually removing the container... I can't explain it fully, but removing the bind-mounted/run/init
folder was a straightforward workaround.Now my question is: what purpose does that
- /run/udev:/run/udev:ro
volume serve? Which adapters rely on it specifically? (mine was just using a CC2531)Beta Was this translation helpful? Give feedback.
All reactions