mirror of https://github.com/docker/docs.git
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:
parent
4e5a8ae816
commit
0d8d653f4f
|
@ -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)
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue