1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/runconfig/opts
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
..
fixtures Return error if env file contains non-ascii or utf8 bytes (for windows) 2016-10-25 12:34:25 -07:00
envfile.go Return error if env file contains non-ascii or utf8 bytes (for windows) 2016-10-25 12:34:25 -07:00
envfile_test.go fix typos 2016-06-02 17:17:22 +08:00
opts.go Fix /proc/<pid>/oom_score_adj: invalid argument error caused by empty env name 2016-11-07 08:15:26 -08:00
opts_test.go validate build-arg 2016-09-12 18:02:21 +08:00
parse.go Add --dns-option to docker run and hide --dns-opt 2016-11-09 12:13:25 -08:00
parse_test.go Return error if env file contains non-ascii or utf8 bytes (for windows) 2016-10-25 12:34:25 -07:00
runtime.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
throttledevice.go all: replace loop with single append 2016-10-13 13:31:52 -07:00
ulimit.go Convert 'docker run' to a cobra command and to use pflags 2016-06-04 13:55:35 +02:00
ulimit_test.go
weightdevice.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00