1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command/service
Yong Tang 9b6b3c2076 Add --dns-option to docker run and hide --dns-opt
This fix is a follow up to #27567 based on:
https://github.com/docker/docker/pull/27567#issuecomment-259295055

In #27567, `--dns-options` has been added to `service create/update`,
together with `--dns` and `--dns-search`. The `--dns-opt` was used
in `docker run`.

This fix add `--dns-option` (not `--dns-options`) to `docker run/create`, and hide
`--dns-opt`. It is still possible to use `--dns-opt` with
`docker run/create`, though it will not show up in help output.

This fix change `--dns-options`to --dns-option` for `docker service create`
and `docker service update`.

This fix also updates the docs and bash/zsh completion scripts.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-11-09 12:13:25 -08:00
..
cmd.go always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
create.go Add --dns-option to docker run and hide --dns-opt 2016-11-09 12:13:25 -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 --dns-option to docker run and hide --dns-opt 2016-11-09 12:13:25 -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 Add --dns-option to docker run and hide --dns-opt 2016-11-09 12:13:25 -08:00
update_test.go Add --dns-option to docker run and hide --dns-opt 2016-11-09 12:13:25 -08:00