summaryrefslogtreecommitdiff
path: root/gnu/services/docker.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-01-10 05:14:43 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2019-01-10 05:15:42 +0100
commitf946a370edbf65baab41e8373e25157da5029a88 (patch)
tree9decda847dd19cca115e2f3773791e4301774b47 /gnu/services/docker.scm
parentdc4b4a38fa2577d4dd01f80b4bc8c9255304e576 (diff)
downloadgnu-guix-f946a370edbf65baab41e8373e25157da5029a88.tar
gnu-guix-f946a370edbf65baab41e8373e25157da5029a88.tar.gz
services: docker: Depend on elogind.
* gnu/services/docker.scm (docker-shepherd-service)[requirement]: Add elogind.
Diffstat (limited to 'gnu/services/docker.scm')
-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")