Merge pull request #2976 from JonZeolla/fix-docker-run-env-docs

Fix mistake with env var example in docker run docs
This commit is contained in:
Sebastiaan van Stijn 2021-12-08 12:04:51 +01:00 committed by GitHub
commit d18275a90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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)