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

View file

@ -70,7 +70,8 @@ (define (docker-shepherd-service config)
(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")