Commit Graph

2258 Commits

Author SHA1 Message Date
ce90228a83 Fixed secret creation usage during service create in docs
Using source, the following error is made:
invalid field in secret request: src

Signed-off-by: Michael Irwin <mikesir87@gmail.com>
Upstream-commit: 6e6d6edd08
Component: cli
2017-06-02 00:10:50 +00:00
94ff9946b0 Fix bash completion for docker plugin ls
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 4489f4ab10
Component: cli
2017-06-02 00:10:50 +00:00
8e35845b73 Add .CreatedAt placeholder for docker network ls --format
This fix tries to add a placeholder `.CreatedAt` for Go
format template in `docker network ls --format`.

While working on 29226, I noticed that it is not possible to
display network's creation time in `docker network ls`, with or
without `--format`.

We are able to find the timestamp through `docker network inspect` though.

However, as we allows networks to be pruned based on the timestamp
(see 29226), showing the timestamp in `docker network ls --format`
would be much useful now.

This fix adds the `.CreatedAt` placeholder for `docker network ls --format`.
The default output was not changed for `docker network ls --format`.

A test case for unit tests has been added.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: e541799eed
Component: cli
2017-06-02 00:10:50 +00:00
56fed66072 Add bash completion for docker service ps --filter node
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 046aa9aa23
Component: cli
2017-06-02 00:10:50 +00:00
8b1001e0f8 plugins: add example docs for a rexray plugin
Signed-off-by: Tibor Vass <tibor@docker.com>
Upstream-commit: f75cb34afa
Component: cli
2017-06-02 00:10:49 +00:00
0de396aa6c fix flag descriptions for content-trust
Commit ed13c3abfb242905ec012e8255dc6f26dcf122f6 added flags
for Docker Content Trust. Depending on the `verify` boolean,
the message is "Skip image verification", or "Skip image signing".
"Signing" is intended for `docker push` / `docker plugin push`.

During the migration to Cobra, this boolean got flipped for
`docker push` (9640e3a4514f96a890310757a09fd77a3c70e931),
causing `docker push` to show the incorrect flag description.

This patch changes the flags to use the correct description
for `docker push`, and `docker plugin push`.

To prevent this confusion in future, the boolean argument
is removed, and a `AddTrustSigningFlags()` function is added.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 8d43f5593a
Component: cli
2017-06-02 00:10:49 +00:00
c8f6d866c3 Add zsh completion for 'dockerd --init' and 'docker {create,run} --init'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: f7efcbbaa1
Component: cli
2017-06-02 00:10:49 +00:00
8569ad5ae6 Add bash completion for newly added options to "docker plugin ls"
Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
Upstream-commit: e41d3a22ce
Component: cli
2017-06-02 00:10:49 +00:00
e5776e6e26 Add --format flag for docker plugin ls
This fix tries to address the enhancement discussed in 28735 to add
`--format` for the output of `docker plugin ls`.

This fix
1. Add `--format` and `--quiet` flags to `docker plugin ls`
2. Convert the current implementation to use `formatter`, consistent with
   other docker list commands.
3. Add `pluginsFormat` for config.json.

Related docs has been updated.

Several unit tests have been added to cover the changes.

This fix is related to 28708 and 28735.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: d36dd6541a
Component: cli
2017-06-02 00:10:49 +00:00
db8a8c022f remove indent from .dockerignore example
Signed-off-by: Michael Friis <friism@gmail.com>
Upstream-commit: e65d4d2907
Component: cli
2017-06-02 00:10:49 +00:00
9ff6593d35 Merge pull request #30329 from johndmulhausen/patch-2
Fixing formatting errors in Run refdoc

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Upstream-commit: dd05de1e6a
Component: cli
2017-06-02 00:10:49 +00:00
07072a8984 Add zsh completion for 'docker swarm --availability'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: ad214d7a79
Component: cli
2017-06-02 00:10:49 +00:00
c11bc343aa Add zsh completion for 'docker {container,image,network,system} prune --filter'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 8cd8ceedf6
Component: cli
2017-06-02 00:10:49 +00:00
e8296f67cc Fix some typos
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
Upstream-commit: b5758e62de
Component: cli
2017-06-02 00:10:49 +00:00
c7b3f20a8e Add bash completion for dockerd --init and docker run|create --init
Fixes #30263

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0e8ea8a2b6
Component: cli
2017-06-02 00:10:49 +00:00
227539bc5c Update run.md ENV docs
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 8c24f5d5e7
Component: cli
2017-06-02 00:10:49 +00:00
7770eceb62 Complete the options for 'docker plugin install'
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
Upstream-commit: b6aba94144
Component: cli
2017-06-02 00:10:49 +00:00
e1562c94a9 Add bash completion for build --squash
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f58ef83a2c
Component: cli
2017-06-02 00:10:49 +00:00
ac6e5621fd Add bash completion for container|image|network prune --filter until
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 347c066e0d
Component: cli
2017-06-02 00:10:49 +00:00
91d650a72a Fix treatment of DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: cce9425a74
Component: cli
2017-06-02 00:10:49 +00:00
b777b51905 Add bash completion for plugin install --disable-content-trust
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ad4e1a9c61
Component: cli
2017-06-02 00:10:49 +00:00
10c83e10b1 Honour $DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: aa4b0f065b
Component: cli
2017-06-02 00:10:48 +00:00
6cadd5ebe4 Clarify cp documentation behaviour with trailing "/."
Issue #30082 demonstrated that their is possible confusion with the "/."
where the tailing "." can appear to be merely punctuation within the
document rather than a highly pertinent part of `SRC_PATH`.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
Upstream-commit: 4db608f186
Component: cli
2017-06-02 00:10:48 +00:00
c96feef15a Add bash completion for swarm join --availability
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3b59097abd
Component: cli
2017-06-02 00:10:48 +00:00
2e4253af5c Allow swarm init with --availability=drain
This fix adds a new flag `--availability` to `swarm join`.

Related documentation has been updated.

An integration test has been added.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 4a16aa2ece
Component: cli
2017-06-02 00:10:48 +00:00
a1ee3c9125 Allow swarm join with --availability=drain
This fix tries to address the issue raised in 24596 where it was not
possible to join as manager only (`--availability=drain`).

This fix adds a new flag `--availability` to `swarm join`.

Related documentation has been updated.

An integration test has been added.

NOTE: Additional pull request for swarmkit and engine-api will
be created separately.

This fix fixes 24596.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: f4d26add25
Component: cli
2017-06-02 00:10:48 +00:00
ad57980f55 plugins: rename DeviceCreation to AllowAllDevices
Signed-off-by: Tibor Vass <tibor@docker.com>
Upstream-commit: 8c3f18ca6d
Component: cli
2017-06-02 00:10:48 +00:00
d44562c7fe add port PublishMode to service inspect --pretty output
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
Upstream-commit: 3988259bcb
Component: cli
2017-06-02 00:10:48 +00:00
1da5f6bd38 remove -f on secret create and unify usage with other commands
Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: 20954b356b
Component: cli
2017-06-02 00:10:48 +00:00
fdbe44297c Add --filter until=<timestamp> for docker container/image prune
This fix is a follow up for comment
https://github.com/docker/docker/pull/28535#issuecomment-263215225

This fix provides `--filter until=<timestamp>` for `docker container/image prune`.

This fix adds `--filter until=<timestamp>` to `docker container/image prune`
so that it is possible to specify a timestamp and prune those containers/images
that are earlier than the timestamp.

Related docs has been updated

Several integration tests have been added to cover changes.

This fix fixes #28497.

This fix is related to #28535.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: fdd6879b68
Component: cli
2017-06-02 00:10:48 +00:00
6b26f65e63 explain since format and give examples
Signed-off-by: tronicum <tronicum@user.github.com>
Upstream-commit: 915a5a3c57
Component: cli
2017-06-02 00:10:48 +00:00
baa324abc0 fix volume ls filter driver
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 1f494501f2
Component: cli
2017-06-02 00:10:48 +00:00
8832918e96 Fix incorrect alias and URL
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 70d63dce63
Component: cli
2017-06-02 00:10:48 +00:00
4fbe81294a keep network option consistent between network connect and run
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 6337d3724e
Component: cli
2017-06-02 00:10:48 +00:00
ae3f860511 Provide correct command imformation and URL
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: 30f009076e
Component: cli
2017-06-02 00:10:48 +00:00
0209697d2c Add bash completion for plugin names
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fbfe077b1e
Component: cli
2017-06-02 00:10:48 +00:00
6b942cd096 Fix "zsh/_docker"
Signed-off-by: Yunxiang Huang <hyxqshk@vip.qq.com>
Upstream-commit: bd5bced8d1
Component: cli
2017-06-02 00:10:48 +00:00
6793285077 small secret doc update
Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: 67da1ed340
Component: cli
2017-06-02 00:10:48 +00:00
33e61adc59 Tidy --isolation wording
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 36274c35d5
Component: cli
2017-06-02 00:10:47 +00:00
d1a9a33820 support registry mirror config reload
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 6c3e0ba560
Component: cli
2017-06-02 00:10:47 +00:00
6e8e4af103 Update docker daemon to dockerd
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 6dcebccc46
Component: cli
2017-06-02 00:10:47 +00:00
7632076475 replace no-remove by sample-volume-plugin in docs
Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: 63aa05d3f7
Component: cli
2017-06-02 00:10:47 +00:00
633a71429a Read long description from a file.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 5bd015e2d9
Component: cli
2017-06-02 00:10:47 +00:00
3bfda246fa Support multiple services on bash completion for docker service ps
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ce569fd836
Component: cli
2017-06-02 00:10:47 +00:00
4cff8fc505 update plugins in docs and correct things in index.md
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: a004c15df0
Component: cli
2017-06-02 00:10:47 +00:00
69c512fa5b Support multiple service IDs on "docker service ps"
This fix tries to address issue raised in 25228 to support
multiple service IDs on `docker service ps`.

Multiple IDs are allowed with `docker service ps ...`, and
related documentation has been updated.

A test has been added to cover the changes.

This fix fixes 25228.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 0645bd841e
Component: cli
2017-06-02 00:10:47 +00:00
542d3a8cbd Update reference document for secret and stack
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 1471f8013b
Component: cli
2017-06-02 00:10:47 +00:00
094303a355 Fix usage message of plugin inspect
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 6c5145d074
Component: cli
2017-06-02 00:10:47 +00:00
407d116751 Add bash completion for plugin disable --force
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0e0cb6498c
Component: cli
2017-06-02 00:10:47 +00:00
f949dc0d1d Fix bash completion for plugin enable|disable
`docker plugin enable` and `docker plugin disable` only
accept one plugin.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 70d8efd001
Component: cli
2017-06-02 00:10:47 +00:00