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>
This commit is contained in:
parent
70a00157f1
commit
cb1bb72fd9
|
@ -403,10 +403,10 @@ VAR1=value1
|
||||||
VAR2=value2
|
VAR2=value2
|
||||||
USER
|
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
|
VAR1=value1
|
||||||
VAR2=value2
|
VAR2=value2
|
||||||
USER=denis
|
USER=jonzeolla
|
||||||
```
|
```
|
||||||
|
|
||||||
### Set metadata on container (-l, --label, --label-file)
|
### Set metadata on container (-l, --label, --label-file)
|
||||||
|
|
Loading…
Reference in New Issue