40
edits
mNo edit summary |
(Add note about error when starting the docker service.) |
||
Line 378: | Line 378: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
ExecStart=/usr/bin/dockerd -g <another directory>/docker -H fd:// --containerd=/run/containerd/containerd.sock | ExecStart=/usr/bin/dockerd -g <another directory>/docker -H fd:// --containerd=/run/containerd/containerd.sock | ||
</syntaxhighlight> | |||
'''Note''': If you get the error "Job for docker.service failed because the control process exited with error code." when starting the docker service, modify <code>/lib/systemd/system/docker.service</code> with the following instead: | |||
<syntaxhighlight lang=bash> | |||
ExecStart=/usr/bin/dockerd --data-root <another directory>/docker -H fd:// --containerd=/run/containerd/containerd.sock | |||
</syntaxhighlight> | </syntaxhighlight> | ||
edits