services: docker: Depend on elogind.

* gnu/services/docker.scm (docker-shepherd-service)[requirement]: Add elogind.
This commit is contained in:
Danny Milosavljevic 2019-01-10 05:14:43 +01:00
parent dc4b4a38fa
commit f946a370ed
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 2 additions and 1 deletions

View File

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