-
Hi podman community, I have a question regarding running podman with all cgroup controllers enabled while podman is running in gnome terminal, by default I only see "memory pids" controllers are enabled.
By checking the code, I see podman read the controllers from
Seems each gnome-terminal tab has a separate systemd scope and
How can I enabled the missing controllers in gnome terminals by default? Additional info: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@giuseppe PTAL |
Beta Was this translation helpful? Give feedback.
-
you need to create a file under
so these controllers will be delegated to the unprivileged user and can be used for containers |
Beta Was this translation helpful? Give feedback.
Just found this issue, thanks for all the information. Kinda old but adding 1 more way this can be solved. We can override the vte-spawn scope and add our own entries per VTE docs. So:
and
systemctl --user daemon-reload
, stop all terminals, start a new one, verifyNote that this solution is not specific to podman but applies to anything started from a VTE terminal. Furthermore, it is less restrictive than the default as it transfers control of cgroup resource control partitioning from the systemd us…