You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for fellow users of Podman to share some experiences and possibly add these to the documentation.
I tried adapting the command line docker run [...] docker.io/buanet/iobroker:latest-v7 to podman run [...] docker.io/buanet/iobroker:latest-v7 However during startup I get several occurrences of Operation not permitted.
After diagnosing the problem using https://www.redhat.com/sysadmin/container-permission-denied-errors I narrowed it down to a missing Linux capabilityNET_RAW which Docker usually allows but with Podman must be enabled specifically. So I ended up at podman run --name iobroker --cap-add net_raw [...] docker.io/buanet/iobroker:latest-v7
Bringing it all together, also using a macvlan network (because I wanted a dedicated DHCP IP address for the container) I ended up at a rootful podman container as follows:
sudo podman run \
--name iobroker \
--cap-add net_raw \
--tty \
--net macvlan \
--mac-address=<AA:BB:CC:... a MAC for which I have a DHCP reservation on my LAN> \
-e SETUID=<UID on host e.g. 998> \
-e SETGID=<GID on host e.g. 998> \
--volume iobroker_data_v7:/opt/iobroker:rw,exec \
--hostname iobroker \
--label "io.containers.autoupdate=image" \
docker.io/buanet/iobroker:latest-v7
Any other Podman experience out there?
The text was updated successfully, but these errors were encountered:
Hi,
at the moment there is no support for running a ioBroker container in podman.
Please do not use the issues for questions or support. Use the discussions instead.
Or better: Join the ioBroker community forum, Discord channel or Facebook group and place your questions there.
As I see no issue here, I will close this now.
Thank you.
I am looking for fellow users of Podman to share some experiences and possibly add these to the documentation.
I tried adapting the command line
docker run [...] docker.io/buanet/iobroker:latest-v7
topodman run [...] docker.io/buanet/iobroker:latest-v7
However during startup I get several occurrences ofOperation not permitted
.After diagnosing the problem using https://www.redhat.com/sysadmin/container-permission-denied-errors I narrowed it down to a missing Linux capability
NET_RAW
which Docker usually allows but with Podman must be enabled specifically. So I ended up atpodman run --name iobroker --cap-add net_raw [...] docker.io/buanet/iobroker:latest-v7
Bringing it all together, also using a macvlan network (because I wanted a dedicated DHCP IP address for the container) I ended up at a rootful podman container as follows:
Any other Podman experience out there?
The text was updated successfully, but these errors were encountered: