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
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
..
bundlefile Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
checkpoint always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
commands always add but hide experimental cmds and flags 2016-11-03 17:31:12 -07:00
container Merge pull request #27947 from milindchawre/fix_27798 2016-11-09 15:35:38 +01:00
formatter Add unit tests to cli/command/formatter/stats.go 2016-10-27 18:00:38 +03:00
idresolver service ps: Truncate Task IDs 2016-11-08 16:17:15 -08:00
image always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
inspect add endpoint mode in service pretty 2016-09-27 18:41:19 +08:00
network always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
node Merge pull request #28196 from allencloud/add-short-flag-for-force 2016-11-09 18:11:58 +01:00
plugin always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
prune add docker network prune 2016-10-25 06:43:54 +00:00
registry Update deprecation versions for "email" and colon in "security options" 2016-11-01 09:12:27 -07:00
service Add --dns-option to docker run and hide --dns-opt 2016-11-09 12:13:25 -08:00
stack always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
swarm Merge pull request #28196 from allencloud/add-short-flag-for-force 2016-11-09 18:11:58 +01:00
system Merge pull request #27997 from aaronlehmann/raft-options 2016-11-09 10:19:45 +01:00
task service ps: Truncate Task IDs 2016-11-08 16:17:15 -08:00
volume always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
cli.go always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Fix the incorrect description for NewInStream 2016-10-13 22:33:09 +08:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
trust.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00
utils.go return nil when no node or service to avoid additional api call 2016-10-11 10:59:16 +08:00