Commit Graph

1859 Commits

Author SHA1 Message Date
09cd45cad5 Move bash completion logic to new subcommand: logs
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: bd996a11a1
Component: cli
2017-06-02 00:10:27 +00:00
d0a00b93a7 Move bash completion logic to new subcommand: kill
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 13fde2b8c5
Component: cli
2017-06-02 00:10:26 +00:00
6356dbb5b9 Move bash completion logic to new subcommand: inspect
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: c2c341f42b
Component: cli
2017-06-02 00:10:26 +00:00
f7455ef6f1 Move bash completion logic to new subcommand: diff
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 4db49a11a5
Component: cli
2017-06-02 00:10:26 +00:00
f49daf60b9 Move bash completion logic to new subcommand: exec
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f560199333
Component: cli
2017-06-02 00:10:26 +00:00
473ca5a103 Move bash completion logic to new subcommand: diff
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: eac71844f4
Component: cli
2017-06-02 00:10:26 +00:00
bdbfcc0adf Move bash completion logic to new subcommand: create
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 7db1e8272b
Component: cli
2017-06-02 00:10:26 +00:00
67d0c00baa Move bash completion logic to new subcommand: cp
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0ef51632ec
Component: cli
2017-06-02 00:10:26 +00:00
7a7ec39ca9 Move bash completion logic to new subcommand: commit
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e2678f21d9
Component: cli
2017-06-02 00:10:26 +00:00
708d76f1d0 Move bash completion logic to new subcommand: attach
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: d5cdbdc734
Component: cli
2017-06-02 00:10:26 +00:00
68731cf24c Add bash completion for docker container
At this point, we just delegate to the existing completions.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f857f420aa
Component: cli
2017-06-02 00:10:26 +00:00
a1672539b7 fix wrong location for network related doc files
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: 4865a342fb
Component: cli
2017-06-02 00:10:26 +00:00
92e2ca3e12 Add Networks placeholder to ps --format
Passing {{.Networks}} to the format parameter will prompt ps to
display all the networks the container is connected to.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Upstream-commit: a7124389ed
Component: cli
2017-06-02 00:10:26 +00:00
e01ded192e Rewrites to Developing Plugins topic
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Upstream-commit: 7ec82562ce
Component: cli
2017-06-02 00:10:26 +00:00
118bce70c4 Sync docker/docker refs with files mistakenly edited in docker.github.io repo
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Upstream-commit: 7f36c3a1a0
Component: cli
2017-06-02 00:10:26 +00:00
64e77c0c09 support insecure registry in configuration reload
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 9012efce15
Component: cli
2017-06-02 00:10:26 +00:00
846c79c56d Fix the typo of URLs
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
Upstream-commit: c8da630897
Component: cli
2017-06-02 00:10:25 +00:00
6930ed3832 Exec: Add ability to set environment variables
Keeping the current behavior for exec, i.e., inheriting
variables from main process. New variables will be added
to current ones. If there's already a variable with that
name it will be overwritten.

Example of usage: docker exec -it -e TERM=vt100 <container> top

Closes #24355.

Signed-off-by: Jonh Wendell <jonh.wendell@redhat.com>
Upstream-commit: 73dd34b2b3
Component: cli
2017-06-02 00:10:25 +00:00
8871de5591 zsh: fix completion when docker output only has the header line
Unfortunately, `(f)` aka `(ps:\n:)` flag will not create an array when
there is only one line. The subsequent use of indexes will then affect
the string. This leads to `docker rmi <tab>` to complete on the header
line instead of nothing.

Therefore, for each use of `(f)`, we ensure that we have an extra new
line to be sure we get an array.

Credit to @povesteam for the original report and fix in #27373.

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Upstream-commit: 38d93769fe
Component: cli
2017-06-02 00:10:25 +00:00
1b7e1da302 Update the link for sharing images via repositories
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 77bcb1c514
Component: cli
2017-06-02 00:10:25 +00:00
3acdb23402 Improve comments in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ba501cf4fd
Component: cli
2017-06-02 00:10:25 +00:00
51255d6e1c Add bash completion for dockerd --shutdown-timeout
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a511da3c57
Component: cli
2017-06-02 00:10:25 +00:00
8eea5b67a0 Update the link for understand data volumes
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 62fb2cfa94
Component: cli
2017-06-02 00:10:25 +00:00
5b6fca1368 Add config parameter to change stop timeout during daemon shutdown
This fix tries to add a daemon config parameter `--shutdown-timeout`
that specifies the timeout value to stop containers gracefully
(before SIGKILL). The default value is 15s.

The `--shutdown-timeout` parameter is added to daemon options and
config file. It will also be updated during daemon reload.

Additional test cases have been added to cover the change.

This fix fixes #22471.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: ef158e3e0a
Component: cli
2017-06-02 00:10:25 +00:00
a3f6b0fa49 add creation timestamp to docker network inspect
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Upstream-commit: fb789bd06d
Component: cli
2017-06-02 00:10:25 +00:00
a40b84b111 Align bash completion of plugins to completion of nodes and services
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 34630120b3
Component: cli
2017-06-02 00:10:25 +00:00
6565e2a727 Remove invalid installtion content because there is no corresponding files
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: 2160c366b8
Component: cli
2017-06-02 00:10:25 +00:00
a7dd821405 Update sfp13/pflag
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: cfdab875ce
Component: cli
2017-06-02 00:10:25 +00:00
8308c17bab Service update failure thresholds and rollback
This adds support for two enhancements to swarm service rolling updates:

- Failure thresholds: In Docker 1.12, a service update could be set up
  to either pause or continue after a single failure occurs. This adds
  an --update-max-failure-ratio flag that controls how many tasks need to
  fail to update for the update as a whole to be considered a failure. A
  counterpart flag, --update-monitor, controls how long to monitor each
  task for a failure after starting it during the update.

- Rollback flag: service update --rollback reverts the service to its
  previous version. If a service update encounters task failures, or
  fails to function properly for some other reason, the user can roll back
  the update.

SwarmKit also has the ability to roll back updates automatically after
hitting the failure thresholds, but we've decided not to expose this in
the Docker API/CLI for now, favoring a workflow where the decision to
roll back is always made by an admin. Depending on user feedback, we may
add a "rollback" option to --update-failure-action in the future.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 8c03c1201b
Component: cli
2017-06-02 00:10:25 +00:00
1e932b2921 Add bash completion for docker {run,create} --stop-timeout
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3ba4b59233
Component: cli
2017-06-02 00:10:25 +00:00
c05bdcf5ab Improve bash completion of containers
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9ef7847f74
Component: cli
2017-06-02 00:10:25 +00:00
44772e350e Align bash completion of networks to completion of nodes and services
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f1c1bbcbea
Component: cli
2017-06-02 00:10:25 +00:00
4c16ea6192 Align bash completion of volumes to completion of nodes and services
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 77a6840256
Component: cli
2017-06-02 00:10:25 +00:00
f907ec4ad7 Fix link for feature deprecation policy
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: b684e781cb
Component: cli
2017-06-02 00:10:25 +00:00
ab67022e57 Fix code block fences and typo.
Signed-off-by: Ding Fei <dingfei@stars.org.cn>
Upstream-commit: a16bba06fd
Component: cli
2017-06-02 00:10:24 +00:00
125df45f6b Fix typos in docs/reference/builder.md.
Signed-off-by: Ding Fei <dingfei@stars.org.cn>
Upstream-commit: fb809d0511
Component: cli
2017-06-02 00:10:24 +00:00
443f283a14 Fix the link for sharing images via repositories
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: fbdf4c1ea3
Component: cli
2017-06-02 00:10:24 +00:00
b0afcf8e85 Fix typs from go to Go
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 659eab0574
Component: cli
2017-06-02 00:10:24 +00:00
c38ad08e0e wrap line in deleted containers when pruning
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: b7b97fdce6
Component: cli
2017-06-02 00:10:24 +00:00
bb63874e63 Add config parameter to change per-container stop timeout during daemon shutdown
This fix tries to add a flag `--stop-timeout` to specify the timeout value
(in seconds) for the container to stop before SIGKILL is issued. If stop timeout
is not specified then the default timeout (10s) is used.

Additional test cases have been added to cover the change.

This fix is related to #22471. Another pull request will add `--shutdown-timeout`
to daemon for #22471.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 4ff84a13da
Component: cli
2017-06-02 00:10:24 +00:00
089242961c Added logentries dependency to vendor
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Upstream-commit: 83c7808f3a
Component: cli
2017-06-02 00:10:24 +00:00
00298bdacd fix wrong output titile for docker volume ls
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: ba49f7bfe9
Component: cli
2017-06-02 00:10:24 +00:00
3d27940c0a Fix typo in build documentation
Signed-off-by: Luca Favatella <luca.favatella@erlang-solutions.com>
Upstream-commit: 29392a7472
Component: cli
2017-06-02 00:10:24 +00:00
02a57c23a2 overlay2: add support for --storage-opt size
Allow passing --storage-opt size=X to docker create/run commands
for the `overlay2` graphriver.

The size option is only available if the backing fs is xfs that is
mounted with the `pquota` mount option.
The user can pass any size less then the backing fs size.

Signed-off-by: Amir Goldstein <amir73il@aquasec.com>
Upstream-commit: 6190d02e62
Component: cli
2017-06-02 00:10:24 +00:00
8057cb1812 Remove Fedora 22 from RPM build as it is EOL
Fedora 22 reached end of life on July 19th, and
will no longer receive updates;

https://fedoramagazine.org/fedora-22-end-of-life-2016-july/

With the recent release of Fedora 24, Fedora 22 will officially enter End Of
Life (EOL) status on July 19th, 2016. After July 19th, all packages in the
Fedora 22 repositories will no longer receive security, bugfix, or enhancement
updates, and no new packages will be added to the Fedora 22 collection.

Upgrading to Fedora 23 or Fedora 24 before July 19th 2016 is highly recommended
for all users still running Fedora 22.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 833db8ffac
Component: cli
2017-06-02 00:10:24 +00:00
fbc93c2df5 Convert Markdown frontmatter to YAML
Some frontmatter such as the weights, menu stuff, etc is no longer used
'draft=true' becomes 'published: false'

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Upstream-commit: 2845676cc2
Component: cli
2017-06-02 00:10:24 +00:00
d3c4ed5409 Add a link to the new build instructions
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Upstream-commit: 12a3920153
Component: cli
2017-06-02 00:10:24 +00:00
9f04306fc3 Remove old documentation, add README.md with pointer
Signed-off-by: John Mulhausen <john@docker.com>
Upstream-commit: 68d252bc19
Component: cli
2017-06-02 00:10:22 +00:00
14ab319b53 add documentation for docker stack ps
also updates related stack docs and removes stack_tasks.md

Signed-off-by: Alicia Lauerman <allydevour@me.com>
Upstream-commit: f840df5a2b
Component: cli
2017-06-02 00:10:13 +00:00
668dab6911 Implement Pause Resume support for Windows
Signed-off-by: Darren Stahl <darst@microsoft.com>
Upstream-commit: f7bfe86440
Component: cli
2017-06-02 00:10:13 +00:00