diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index 0e16bbd92949..247e60a17eff 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