diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-10-18 16:06:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 16:06:44 +0200 |
commit | f0da9cfc26158098c2f63dbba7fe33fd4af800aa (patch) | |
tree | e530e48c9532cda38049881b1699a3b57228fe54 /troubleshooting.md | |
parent | 123e034892a2687320c3cf483bd8c617b329c94f (diff) | |
parent | f400e852c7d1704ed42b11682e1804fb17739f6f (diff) | |
download | podman-f0da9cfc26158098c2f63dbba7fe33fd4af800aa.tar.gz podman-f0da9cfc26158098c2f63dbba7fe33fd4af800aa.tar.bz2 podman-f0da9cfc26158098c2f63dbba7fe33fd4af800aa.zip |
Merge pull request #4269 from giuseppe/do-not-set-lingering-mode-by-default
rootless: do not enable lingering mode
Diffstat (limited to 'troubleshooting.md')
-rw-r--r-- | troubleshooting.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/troubleshooting.md b/troubleshooting.md index 6fed719f7..c4e577645 100644 --- a/troubleshooting.md +++ b/troubleshooting.md @@ -410,3 +410,22 @@ You'll need to either: * configure the host to use cgroups v1 * update the image to use an updated version of systemd. + +### 17) rootless containers exit once the user session exits + + +You need to set lingering mode through loginctl to prevent user processes to be killed once +the user session completed. + +#### Symptom + +Once the user logs out all the containers exit. + +#### Solution +You'll need to either: + +* loginctl enable-linger $UID + +or as root if your user has not enough privileges. + +* sudo loginctl enable-linger $UID |