1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster
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
..
convert Add flag --host to service create and --host-add/--host-rm to service update 2016-11-10 10:20:24 -08:00
executor Add flag --host to service create and --host-add/--host-rm to service update 2016-11-10 10:20:24 -08:00
provider Add engine-api types to docker 2016-09-07 11:05:58 -07:00
cluster.go Lock/unlock integration tests 2016-11-09 16:09:01 -08:00
filters.go secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
helpers.go Fix spelling in comments, strings and documentation 2016-07-03 20:58:11 +03:00
listen_addr.go Add fallback to resolveSystemAddr() in linux 2016-09-09 13:27:57 -07:00
listen_addr_linux.go Add fallback to resolveSystemAddr() in linux 2016-09-09 13:27:57 -07:00
listen_addr_others.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
listen_addr_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
secrets.go review updates 2016-11-09 14:27:45 -05:00