Commit Graph

1943 Commits

Author SHA1 Message Date
35146fe359 fix frontmatter keywords value type (string, instead of []string) in /docs/reference
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com>
Upstream-commit: 572c6bb89a
Component: cli
2017-06-02 00:10:31 +00:00
10117b8d2f fix frontmatter keywords value type (string, instead of []string)
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com>
Upstream-commit: 4126b5526c
Component: cli
2017-06-02 00:10:31 +00:00
b2f1abe039 Add for String
Signed-off-by: yupeng <yu.peng36@zte.com.cn>
Upstream-commit: af5af201fe
Component: cli
2017-06-02 00:10:31 +00:00
3f6d668bc0 added node ip autodetection
Manager now auto-detects the address that an agent connects to the cluster
from and stores it. This is useful for many kinds of internal cluster
management tools.

Signed-off-by: Drew Erny <drew.erny@docker.com>
Upstream-commit: 194bb052dc
Component: cli
2017-06-02 00:10:31 +00:00
f4590ea5c1 cli: add --mount to docker run
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Upstream-commit: 0e7bbb55c8
Component: cli
2017-06-02 00:10:31 +00:00
3295d6d471 Add stack service and fix typos
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: d74d024775
Component: cli
2017-06-02 00:10:31 +00:00
b388950c34 Redirect powershell completion
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 8da2e039e5
Component: cli
2017-06-02 00:10:31 +00:00
df9a425166 add replicated in service scale command description
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: ef09aafc3e
Component: cli
2017-06-02 00:10:31 +00:00
9304633193 fix frontmatter in reference md files
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com>
Upstream-commit: 1814d5121e
Component: cli
2017-06-02 00:10:31 +00:00
94c993c344 node rm can be applied on not only active node
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 6cf2234377
Component: cli
2017-06-02 00:10:31 +00:00
f6a9ceccb8 Add metrics docs to cli reference
Fixes #27843

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 94bc15016e
Component: cli
2017-06-02 00:10:31 +00:00
dca11896a7 Remove some redundant consts
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 8cb80e77d1
Component: cli
2017-06-02 00:10:31 +00:00
c34aa02124 Add StatsFormat to the config.json file
As for `ps`, `images`, `network ls` and `volume ls`, this makes it
possible to define a custom default format.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: ec318edf12
Component: cli
2017-06-02 00:10:31 +00:00
1190a21029 Adds ability to squash image after build
Allow built images to be squash to scratch.
Squashing does not destroy any images or layers, and preserves the
build cache.

Introduce a new CLI argument --squash to docker build
Introduce a new param to the build API endpoint `squash`

Once the build is complete, docker creates a new image loading the diffs
from each layer into a single new layer and references all the parent's
layers.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: e34679982f
Component: cli
2017-06-02 00:10:31 +00:00
a96b192800 Convert Unused ARG error to warning
Signed-off-by: Addam Hardy <addam.hardy@gmail.com>
Upstream-commit: 44edbbdbc2
Component: cli
2017-06-02 00:10:31 +00:00
0bed104764 Modify short and flags for docker inspect
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 49a282eb1c
Component: cli
2017-06-02 00:10:31 +00:00
a371fe5fc4 Add zsh completion for 'docker ps --filter health='
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 33964db9d0
Component: cli
2017-06-02 00:10:31 +00:00
3d9f58ad1c Add bash completion for docker ps --filter health
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 7cb11128f7
Component: cli
2017-06-02 00:10:31 +00:00
bb937f7f14 Fix bunch of typos
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Upstream-commit: a17a06204d
Component: cli
2017-06-02 00:10:30 +00:00
b3e2a4db99 Adds container health support to docker ps filter
Signed-off-by: Josh Horwitz <horwitzja@gmail.com>
Upstream-commit: dfcd777cbc
Component: cli
2017-06-02 00:10:30 +00:00
4f25fac5e6 Add "userns" to docker info security options output
If user namespaces is enabled on the daemon, reveal that via docker info
by adding "userns" to the list of security options reported by the
info endpoint.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
Upstream-commit: c6c5d28828
Component: cli
2017-06-02 00:10:30 +00:00
34fb473d99 Add --format to man and fix some typos
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: baed1a070e
Component: cli
2017-06-02 00:10:30 +00:00
86b85650ce Update docs for dockerd.md about max-concurrent-downloads/max-concurrent-uploads
It seems that `max-concurrent-downloads` and `max-concurrent-uploads`
are supported in Windows for `config.json`. Though that was not
mentioned in the docs for dockerd.md.

This fix adds the following to the example `config.json` file for Windows:
```
    "max-concurrent-downloads": 3,
    "max-concurrent-uploads": 5,
```

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 7b22b129b9
Component: cli
2017-06-02 00:10:30 +00:00
ffc855c19c Complete docker-events man page with filter list…
… and examples.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 86c99be0c9
Component: cli
2017-06-02 00:10:30 +00:00
abd803a329 Windows: Clarify WORKDIR in docs
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 65bc3e9b3b
Component: cli
2017-06-02 00:10:30 +00:00
18c108f9d5 Service create --group param
--group-add was used for specifying groups for both service create
and service update. For create it was confusing since we don't have
an existing set of groups. Instead I added --group to create, and
moved --group-add to service update only, like --group-rm
This deals with issue 27646

Signed-off-by: Lily Guo <lily.guo@docker.com>

Update flag documentation

Specify that --group, --group-add and --groupd-rm refers to
supplementary user groups

Signed-off-by: Lily Guo <lily.guo@docker.com>

Fix docs for groups and update completion scripts

Signed-off-by: Lily Guo <lily.guo@docker.com>
Upstream-commit: 0e1a3f6bbb
Component: cli
2017-06-02 00:10:30 +00:00
08be90cdc7 fill all the rest invalid address because no related directory
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: 9b109cd9a7
Component: cli
2017-06-02 00:10:30 +00:00
94054df6ff fill the complete address because of no userguide directory
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: 2603a9c1dd
Component: cli
2017-06-02 00:10:30 +00:00
0a2fb5212e Add --health-* commands to service create and update
A HealthConfig entry was added to the ContainerSpec associated with the
service being created or updated.

Signed-off-by: Cezar Sa Espinola <cezarsa@gmail.com>
Upstream-commit: 836b1a7d0a
Component: cli
2017-06-02 00:10:30 +00:00
21e47eacef Update examples in builder.md
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 5934d2a0ed
Component: cli
2017-06-02 00:10:30 +00:00
9c8343543e Add bash completion for docker export --output
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: bf5201d2cf
Component: cli
2017-06-02 00:10:30 +00:00
df3d650642 Add support for multiple containers to bash completion for docker pause
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5b3976457c
Component: cli
2017-06-02 00:10:30 +00:00
dcd1a6737a Add bash completion for docker service create --env-file
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 7e7a47405a
Component: cli
2017-06-02 00:10:30 +00:00
69778781aa Add zsh completion for 'docker service create --env-file'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: da7306052f
Component: cli
2017-06-02 00:10:30 +00:00
970c7ca454 Fix some typos
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 6af33ef099
Component: cli
2017-06-02 00:10:29 +00:00
bd38caee5f fixes #27643
Signed-off-by: Ce Gao <ce.gao@outlook.com>
Upstream-commit: d398440f03
Component: cli
2017-06-02 00:10:29 +00:00
2fe48a04ec Remove --name flag from service update
The --name flag was inadvertently added to
docker service update, but is not supported,
as it has various side-effects (e.g., existing
tasks are not renamed).

This removes the flag from the service update
command.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 6fbb9227cb
Component: cli
2017-06-02 00:10:29 +00:00
e0d2f4d65e Move bash completion logic to new subcommand: info
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: bce3414931
Component: cli
2017-06-02 00:10:29 +00:00
a8e80d61a0 Move bash completion logic to new subcommand: events
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 95f885eb9b
Component: cli
2017-06-02 00:10:29 +00:00
1dca682bd2 Add bash completion for new docker system command family
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9e164dedaa
Component: cli
2017-06-02 00:10:29 +00:00
192d15ece1 Add --env-file flag to docker create service
This fix tries to address the issue in 24712 and add
`--env-file` file to `docker create service`.

Related documentation has been updated.

An additional integration has been added.

This fix fixes 24712.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 5acd85c6e8
Component: cli
2017-06-02 00:10:29 +00:00
7fba500014 Move bash completion logic to new subcommand: tag
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 398d4706d3
Component: cli
2017-06-02 00:10:29 +00:00
80bf7faee3 Move bash completion logic to new subcommand: save
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 54bb65787c
Component: cli
2017-06-02 00:10:29 +00:00
b9eea14648 Move bash completion logic to new subcommand: rmi
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 52c1a7ed50
Component: cli
2017-06-02 00:10:29 +00:00
71cc67a754 Move bash completion logic to new subcommand: push
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 509d2cc9b6
Component: cli
2017-06-02 00:10:29 +00:00
2155ce0488 Move bash completion logic to new subcommand: pull
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3ed53e5641
Component: cli
2017-06-02 00:10:29 +00:00
5b59d25c67 Move bash completion logic to new subcommand: images
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ff05fa31d5
Component: cli
2017-06-02 00:10:29 +00:00
f47fa461ff Move bash completion logic to new subcommand: load
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: eeae0d4c53
Component: cli
2017-06-02 00:10:29 +00:00
0e73cdf7ff Delegate bash completion for docker {container,image} inspect to parameterized function
In #23614 `docker inspect` was semantically enhanced to inspect "everything".
Therefore moving its logic to `_docker_container_inspect` was not correct.

This commit moves it back to its original top-level location (`_docker_inspect`)
so that it can be called by `_docker_{container,image}_inspect` and others (will
be added in follow-up PRs).
Parameterization was added in order to get caller-specific behavior.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 918ff45c1a
Component: cli
2017-06-02 00:10:29 +00:00
ebf1521740 Move bash completion logic to new subcommand: import
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e8310f310d
Component: cli
2017-06-02 00:10:29 +00:00