1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/reference
Yong Tang ea9a23ccdb Add flag --host to service create and --host-add/--host-rm to service update
This fix tries to address 27902 by adding a flag `--host`
to `docker service create` and `--host-add/--host-rm` to
`docker service update`, so that it is possible to
specify extra `host:ip` settings in `/etc/hosts`.

This fix adds `Hosts` in swarmkit's `ContainerSpec` so that it
is possible to specify extra hosts during service creation.

Related docs has been updated.

An integration test has been added.

This fix fixes 27902.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-11-10 10:20:24 -08:00
..
api Merge pull request #28164 from anusha-ragunathan/plugin-build 2016-11-09 17:49:51 -08:00
commandline Add flag --host to service create and --host-add/--host-rm to service update 2016-11-10 10:20:24 -08:00
builder.md Update docs for the output of docker build (Step 1/...) 2016-11-05 19:05:19 -07:00
glossary.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
index.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
run.md Add --dns-option to docker run and hide --dns-opt 2016-11-09 12:13:25 -08:00