Skip to content

Commit

Permalink
--env-file about comments doc updated
Browse files Browse the repository at this point in the history
Signed-off-by: Saurabh Kumar <[email protected]>
  • Loading branch information
desmond3th committed Nov 6, 2023
1 parent b336124 commit efc9236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/reference/commandline/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<variable>=value` (which sets the variable to the given value) or
`<variable>` (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
Expand Down

0 comments on commit efc9236

Please sign in to comment.