mirror of https://github.com/docker/cli.git
Fix mistake with env var example in docker run docs
Signed-off-by: Jon Zeolla <zeolla@gmail.com>
(cherry picked from commit cb1bb72fd9
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
62d27c32ff
commit
700364e304
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue