Yong Tang 9cda7c331e 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>
2017-06-02 00:10:37 +00:00
..
2017-06-02 00:10:32 +00:00
2017-06-02 00:06:58 +00:00
2017-06-02 00:10:32 +00:00
2017-06-02 00:10:36 +00:00
2017-06-02 00:10:36 +00:00
2017-06-02 00:10:36 +00:00
2017-06-02 00:10:36 +00:00
2017-06-02 00:10:37 +00:00
2017-06-02 00:10:32 +00:00
2017-06-02 00:10:36 +00:00