mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
services: docker: Depend on elogind.
* gnu/services/docker.scm (docker-shepherd-service)[requirement]: Add elogind.
This commit is contained in:
parent
dc4b4a38fa
commit
f946a370ed
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue