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