aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/services/docker.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index c88fc342e8..9e24bcd950 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -70,7 +70,8 @@
(shepherd-service
(documentation "Docker daemon.")
(provision '(dockerd))
- (requirement '(containerd))
+ ;; Note: elogind is required because it's mounting the cgroups.
+ (requirement '(containerd elogind))
(start #~(make-forkexec-constructor
(list (string-append #$docker "/bin/dockerd")
"-p" "/var/run/docker.pid")