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
Is your feature request related to a problem? Please describe.
One of my containers needs root access, because it calls the perf_event_open syscall. Therefore it needs to be executed rootfull with sudo podman run (notice the sudo). Consequently it also needs to be executed as sudo podman-compose up. But if I understand it correctly that will put all the containers in root mode, while I just need it for one of them.
Describe the solution you'd like
I'd like to specify the container to be put in root mode and keep the other containers rootless. I can imagine it either as an argument to podman-compose, e.g. podman-compose --root-mode container_name, or as a key in the compose.yml.
Describe alternatives you've considered
Starting it with sudo podman-compose up works, but I'd prefer rootless as much as possible.
Maybe there is an option already, but I did not find one.
Additional context
None
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
One of my containers needs root access, because it calls the
perf_event_open
syscall. Therefore it needs to be executed rootfull withsudo podman run
(notice thesudo
). Consequently it also needs to be executed assudo podman-compose up
. But if I understand it correctly that will put all the containers in root mode, while I just need it for one of them.Describe the solution you'd like
I'd like to specify the container to be put in root mode and keep the other containers rootless. I can imagine it either as an argument to
podman-compose
, e.g.podman-compose --root-mode container_name
, or as a key in thecompose.yml
.Describe alternatives you've considered
Starting it with
sudo podman-compose up
works, but I'd prefer rootless as much as possible.Maybe there is an option already, but I did not find one.
Additional context
None
The text was updated successfully, but these errors were encountered: