Add envFile arguments to run command

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-10-01 06:08:25 +02:00
parent 4f48318332
commit 2e899202ec
6 changed files with 42 additions and 1 deletions

View file

@ -8,6 +8,7 @@ Flags:
-d, --detach Run container in background and print container ID
--domainname string Container NIS domain name
-e, --env stringArray Set environment variables
--envFile stringArray Path to environment files to be translated as environment variables
-l, --label stringArray Set meta data on a container
-m, --memory bytes Memory limit
--name string Assign a name to the container

2
cli/cmd/run/testdata/runtest1.env vendored Normal file
View file

@ -0,0 +1,2 @@
FIRST_VAR="firstValue"
SECOND_VAR=secondValue

2
cli/cmd/run/testdata/runtest2.env vendored Normal file
View file

@ -0,0 +1,2 @@
THIRD_VAR=2
FOURTH_VAR=fourthValue