mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
df56098220
commit
1c84e68bde
1 changed files with 4 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue