-
I want to use podman with rootful mode and call This is docker doc example: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
How to behave like this with podman? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
None of that is required. Podman is designed to run as rootless, so just run it. Only issue would be if the user running does not have entries in /etc/subuid and /etc/subgid. But these entries should be added automatically via useradd command. To run podman as root, run sudo podman, to run rootless run podman. |
Beta Was this translation helpful? Give feedback.
systemd kills all processes left in a session after a user exits.
https://github.com/containers/podman/blob/main/troubleshooting.md#17-rootless-containers-exit-once-the-user-session-exits