Add `--env-file` flag to `docker create service`

This fix tries to address the issue in 24712 and add
`--env-file` file to `docker create service`.

Related documentation has been updated.

An additional integration has been added.

This fix fixes 24712.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
master
Yong Tang 2016-07-19 23:58:32 -07:00 committed by Tibor Vass
parent 398d4706d3
commit 5acd85c6e8
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ Options:
--container-label value Service container labels (default [])
--endpoint-mode string Endpoint mode (vip or dnsrr)
-e, --env value Set environment variables (default [])
--env-file value Read in a file of environment variables (default [])
--group-add value Add additional user groups to the container (default [])
--help Print usage
-l, --label value Service labels (default [])