summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-14 16:35:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-14 17:21:16 +0300
commit8422a67dc16af4dd5eb82180463aa7a0b362d5b9 (patch)
tree36472f9db884a19c00438b91d296ca6281a8be8d
parentef7381f463ec162b16fdd0f6396eefd19b678d40 (diff)
downloadguix-8422a67dc16af4dd5eb82180463aa7a0b362d5b9.tar.gz
services: docker: Make docker command available.
* gnu/services/docker.scm (docker-service-type): Extend the
profile-service-type and add the docker-cli package.
-rw-r--r--gnu/services/docker.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index 380a942ed2..2fb2ae2c47 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -133,6 +134,9 @@ loop-back communications.")
 bundles in Docker containers.")
                 (extensions
                  (list
+                  ;; Make sure the 'docker' command is available.
+                  (service-extension profile-service-type
+                                     (list docker-cli))
                   (service-extension activation-service-type
                                      %docker-activation)
                   (service-extension shepherd-root-service-type