зеркало из https://github.com/microsoft/docker.git
9b6b3c2076
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> |
||
---|---|---|
.. | ||
fixtures | ||
opts | ||
compare.go | ||
compare_test.go | ||
config.go | ||
config_test.go | ||
config_unix.go | ||
config_windows.go | ||
errors.go | ||
hostconfig.go | ||
hostconfig_solaris.go | ||
hostconfig_test.go | ||
hostconfig_unix.go | ||
hostconfig_windows.go | ||
streams.go |