mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ea9a23ccdb
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> |
||
---|---|---|
.. | ||
cmd.go | ||
create.go | ||
inspect.go | ||
inspect_test.go | ||
list.go | ||
opts.go | ||
opts_test.go | ||
parse.go | ||
ps.go | ||
remove.go | ||
scale.go | ||
update.go | ||
update_test.go |