From 0d8d653f4fe21c314aacfe38695fe9c8d715a9dc Mon Sep 17 00:00:00 2001 From: Flavien Berwick Date: Thu, 7 May 2020 19:10:04 +0200 Subject: [PATCH] Auto-restart of Docker rootless on boot requires an additional command Related to issue [#10770](https://github.com/docker/docker.github.io/issues/10770) --- engine/security/rootless.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/security/rootless.md b/engine/security/rootless.md index 14530c05f7..343c8a5d2d 100644 --- a/engine/security/rootless.md +++ b/engine/security/rootless.md @@ -167,9 +167,10 @@ Use `systemctl --user` to manage the lifecycle of the daemon: $ systemctl --user start docker ``` -To launch the daemon on system startup, enable systemd lingering: +To launch the daemon on system startup, enable the systemd service and lingering: ```console +$ systemctl --user enable docker $ sudo loginctl enable-linger $(whoami) ```