From 394ac0af2c29fa0f36e4923dce392a2244d3a394 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Mon, 9 Sep 2024 21:33:59 +0200 Subject: [PATCH] Add info about rootless Docker This avoids session being killed when running rootless. --- docs/TROUBLESHOOTING_DOCKER.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/TROUBLESHOOTING_DOCKER.md b/docs/TROUBLESHOOTING_DOCKER.md index 3d49897..9b3fc26 100644 --- a/docs/TROUBLESHOOTING_DOCKER.md +++ b/docs/TROUBLESHOOTING_DOCKER.md @@ -17,3 +17,11 @@ So changing from `master-omnibus -> latest` will be the same thing for all inten > NOTE: Previously, there was a `automated cron build` that ran on the `master` and `beta` branches. They used to trigger a `nightly` build, even if nothing has changed on the branch. This has a couple of benefits, but one is to ensure that there's no broken external dependencies in our (unchanged) code. This `nightly` build no longer updates the `master-omnibus` tag. + +# Running Docker `rootless` + +To avoid that the container(s) restart when you installed Docker as `rootless` you need to isssue the following commands to allow the session to stay alive even after you close your (SSH) sesssion: + +`sudo loginctl enable-linger $(whoami)` + +`systemctl --user enable docker`