From 55cec698b7fe77e4270e30b7f19839c633e9dc79 Mon Sep 17 00:00:00 2001 From: saurabh Date: Tue, 7 Nov 2023 01:17:38 +0530 Subject: [PATCH] --env-file about comments doc updated Signed-off-by: Saurabh Kumar (cherry picked from commit efc9236794cfba97b62a6ef84723bdab5864b2a3) Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/run.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index cb4703041e..44595c6e72 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -416,6 +416,8 @@ environment, the variable isn't set in the container. You can also load the environment variables from a file. This file should use the syntax `=value` (which sets the variable to the given value) or `` (which takes the value from the local environment), and `#` for comments. +Additionally, it's important to note that lines beginning with `#` are treated as line comments +and are ignored, whereas a `#` appearing anywhere else in a line is treated as part of the variable value. ```console $ cat env.list