summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorAlexey Abramov <levenson@mmer.org>2021-11-04 07:48:09 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-17 23:05:56 +0100
commit4ace6455063297e6de84a9a2477150a6ce9416d8 (patch)
tree7bdafcbf0def181fd7524f7b96c03aac3f54d140 /doc
parent6bffa13040710fd232d6c3b9a2886a1d136a6363 (diff)
downloadguix-4ace6455063297e6de84a9a2477150a6ce9416d8.tar.gz
services: docker: Add 'environment-variables' configuration field.
* gnu/services/docker.scm (docker-configuration):  Add the field
(docker-shepherd-service): Pass the list of defined variables to
make-forkexec-constructor.
* doc/guix.texi (Miscellaneous Services): Update doc.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 89a970908d..158261e373 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -33229,6 +33229,17 @@ Enable or disable debug output.
 @item @code{enable-iptables?} (default @code{#t})
 Enable or disable the addition of iptables rules.
 
+@item @code{environment-variables} (default: @code{()})
+List of environment variables to set for @command{dockerd}.
+
+This must be a list of strings where each string has the form
+@samp{@var{key}=@var{value}} as in this example:
+
+@lisp
+(list "LANGUAGE=eo:ca:eu"
+      "TMPDIR=/tmp/dockerd")
+@end lisp
+
 @end table
 @end deftp