DockerCLI/command/service
Yong Tang f40b12d0f7 Add custom DNS settings to service definition
This fix tries to fix the issue raised in 24391 about allowing
custom DNS settings to service definition.

This fix adds `DNSConfig` (`Nameservers`, `Options`, `Search`) to
service definition, as well as `--dns`, `--dns-opt`, and `dns-search`
to `service create`.

An integration test has been added to cover the changes in this fix.

This fix fixes 24391.

A PR in swarmkit will be created separately.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-11-08 15:41:32 -08:00
..
cmd.go Only hide commands if the env variable is set. 2016-09-19 13:28:15 -04:00
create.go Add custom DNS settings to service definition 2016-11-08 15:41:32 -08:00
inspect.go Fix typs from go to Go 2016-10-18 19:40:16 +08:00
inspect_test.go Fix broken JSON support in cli/command/formatter 2016-10-17 08:07:17 +00:00
list.go support show numbers of global service in service ls command 2016-11-08 16:17:15 +08:00
opts.go Add custom DNS settings to service definition 2016-11-08 15:41:32 -08:00
opts_test.go Add `--cpus` flag to control cpu resources 2016-11-04 09:43:10 -07:00
ps.go Add -a option to service/node ps 2016-11-06 07:40:39 -05:00
remove.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
scale.go add replicated in service scale command description 2016-11-02 16:15:57 +08:00
update.go Change to plural forms for help output of `docker service update` 2016-11-08 05:53:56 -08:00
update_test.go correct handling of volumes while service update. 2016-11-04 10:15:18 +09:00