Auto-restart of Docker rootless on boot requires an additional command

Related to issue [#10770](https://github.com/docker/docker.github.io/issues/10770)
This commit is contained in:
Flavien Berwick 2020-05-07 19:10:04 +02:00 committed by GitHub
parent 4e5a8ae816
commit 0d8d653f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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)
```