Skip to content

Commit

Permalink
Fix mistake with env var example in docker run docs
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Zeolla <[email protected]>
(cherry picked from commit cb1bb72)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
JonZeolla authored and thaJeztah committed Feb 18, 2022
1 parent 62d27c3 commit 700364e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/commandline/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,10 @@ VAR1=value1
VAR2=value2
USER

$ docker run --env-file env.list ubuntu env | grep VAR
$ docker run --env-file env.list ubuntu env | grep -E 'VAR|USER'
VAR1=value1
VAR2=value2
USER=denis
USER=jonzeolla
```

### Set metadata on container (-l, --label, --label-file)
Expand Down

0 comments on commit 700364e

Please sign in to comment.