From efc9236794cfba97b62a6ef84723bdab5864b2a3 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 --- 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 0e16bbd929..247e60a17e 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -417,6 +417,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