summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-09-15 01:10:55 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-09-15 01:10:55 +0300
commitf6dfe42129d005662d91e1acb1c75eafe7b9b33e (patch)
treea6d66cea84853c9591b4e0e5414af9b62ef7c0fe /gnu/services
parent8ba70a6ad306bdef3f03221f7883fb36abe595ab (diff)
downloadguix-f6dfe42129d005662d91e1acb1c75eafe7b9b33e.tar.gz
services: docker: Fix service definition.
This commit follows a404716d411cf7cd49ff02e3100f0bbf6622d6d5.

* gnu/services/docker.scm
(docker-configuration)[docker-cli]: New record field.
(docker-service-type): Use this.
* doc/guix.texi (Miscellaneous Services)[Docker Service]: Document this.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/docker.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index 1cce767675..a4eccc7928 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -45,6 +45,9 @@
   (docker
    (package docker)
    "Docker daemon package.")
+  (docker-cli
+   (package docker-cli)
+   "Docker client package.")
   (containerd
    (package containerd)
    "containerd package.")
@@ -136,7 +139,7 @@ bundles in Docker containers.")
                  (list
                   ;; Make sure the 'docker' command is available.
                   (service-extension profile-service-type
-                                     (compose list docker-cli))
+                                     (compose list docker-configuration-docker-cli))
                   (service-extension activation-service-type
                                      %docker-activation)
                   (service-extension shepherd-root-service-type