services: docker: Make shepherd service also require "dbus-system",

"elogind" and "udev".

Fixes <https://bugs.gnu.org/34333>.

* gnu/services/docker.scm (docker-shepherd-service): Require "dbus-system",
"elogind" and "udev".
This commit is contained in:
Danny Milosavljevic 2019-02-11 18:29:01 +01:00
parent df56098220
commit 1c84e68bde
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -71,13 +71,16 @@ (define (docker-shepherd-service config)
(documentation "Docker daemon.")
(provision '(dockerd))
(requirement '(containerd
dbus-system
elogind
file-system-/sys/fs/cgroup/blkio
file-system-/sys/fs/cgroup/cpu
file-system-/sys/fs/cgroup/cpuset
file-system-/sys/fs/cgroup/devices
file-system-/sys/fs/cgroup/memory
; TODO: file-system-/sys/fs/cgroup/pids
networking))
networking
udev))
(start #~(make-forkexec-constructor
(list (string-append #$docker "/bin/dockerd")
"-p" "/var/run/docker.pid")