[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51597: [PATCH] services: docker: Add 'environment-variables' configu
From: |
Ludovic Courtès |
Subject: |
bug#51597: [PATCH] services: docker: Add 'environment-variables' configuration field. |
Date: |
Wed, 17 Nov 2021 16:19:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Alexey Abramov <levenson@mmer.org> skribis:
> * 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.
Applied with the clarifications below.
Thanks,
Ludo’.
diff --git a/doc/guix.texi b/doc/guix.texi
index a9e1f66492..158261e373 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -33230,7 +33230,15 @@ Enable or disable debug output.
Enable or disable the addition of iptables rules.
@item @code{environment-variables} (default: @code{()})
-Environment variables to set for dockerd
+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