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/convert
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
..
container.go Add flag --host to service create and --host-add/--host-rm to service update 2016-11-10 10:20:24 -08:00
network.go Add support for docker run in swarm mode overlay 2016-09-07 21:20:41 -07:00
node.go added node ip autodetection 2016-11-03 08:10:14 -07:00
secret.go embed spec when converting from grpc 2016-11-09 14:27:45 -05:00
service.go Add force option to service update 2016-10-21 17:43:27 -07:00
swarm.go Revise swarm init/update flags, add unlocking capability 2016-11-09 16:09:00 -08:00
task.go Fix partial/full filter issue in service tasks --filter 2016-09-26 16:01:20 -07:00