Commit Graph

299 Commits

Author SHA1 Message Date
d41679a6b8 Move bash completion logic to new subcommand: unpause
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: b8d3d1e6ec
Component: cli
2017-06-02 00:10:27 +00:00
f8721d8330 Move bash completion logic to new subcommand: top
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 28cf2654e7
Component: cli
2017-06-02 00:10:27 +00:00
4eed057d60 Move bash completion logic to new subcommand: stop
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 620d0051c8
Component: cli
2017-06-02 00:10:27 +00:00
a6e576bd3f Move bash completion logic to new subcommand: stats
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 04886bca2f
Component: cli
2017-06-02 00:10:27 +00:00
4482a5552b Move bash completion logic to new subcommand: start
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f58b6746d7
Component: cli
2017-06-02 00:10:27 +00:00
ed642954ab Move bash completion logic to new subcommand: run
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 05656756e6
Component: cli
2017-06-02 00:10:27 +00:00
89b043e80e Move bash completion logic to new subcommand: rm
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 39880d7731
Component: cli
2017-06-02 00:10:27 +00:00
91e9997531 Move bash completion logic to new subcommand: restart
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 2a9e70cf34
Component: cli
2017-06-02 00:10:27 +00:00
20eb486881 Move bash completion logic to new subcommand: port
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f533df0821
Component: cli
2017-06-02 00:10:27 +00:00
aa3a48c359 Move bash completion logic to new subcommand: port
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 120b57a61c
Component: cli
2017-06-02 00:10:27 +00:00
7f9ae43944 Move bash completion logic to new subcommand: pause
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: b659865f57
Component: cli
2017-06-02 00:10:27 +00:00
9e5581fa01 Move bash completion logic to new subcommand: ps
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: adaa718195
Component: cli
2017-06-02 00:10:27 +00:00
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
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
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
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
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
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
1624d67c67 Add support for compressing build context during image build
When sending a build context to a remote server it may be
(significantly) advantageous to compress the build context. This commit
adds support for gz compression when constructing a build context
using a command like "docker build --compress ."

Signed-off-by: Paul Kehrer <paul.l.kehrer@gmail.com>
Upstream-commit: 9c85295b1c
Component: cli
2017-06-02 00:10:12 +00:00
db2f2898df Add support for multiple nodes in bash completion for docker node ps
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 62e87d4996
Component: cli
2017-06-02 00:10:12 +00:00
5287c26318 Add bash completion for dockerd --init-path
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3171c7b6e7
Component: cli
2017-06-02 00:10:12 +00:00
23796877c1 Add a new "is-task" ps filter
This makes it easier to list containers that are part of a task
(swarm mode) and those who are not.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: cd547751df
Component: cli
2017-06-02 00:10:12 +00:00
61649df81a Fix bash completion for docker logs --since
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ee85efb76d
Component: cli
2017-06-02 00:10:12 +00:00
dadc5cd030 Add bash completion for docker stats --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8121d5a885
Component: cli
2017-06-02 00:10:11 +00:00
c0006d5967 add docker events --format
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Upstream-commit: 71e220fc11
Component: cli
2017-06-02 00:10:10 +00:00
2e3994446e Splunk Logging Driver performance improvements
New driver options:

- `splunk-gzip` - gzip compress all requests to Splunk HEC
(enabled by default)
- `splunk-gzip-level` - change compression level.

Messages are sent in batches by 1000, with frequency of 5 seconds.
Maximum buffer is 10,000 events. If HEC will not be available, Splunk
Logging Driver will keep retrying while it can hold messages in buffer.

Added unit tests for driver.

Signed-off-by: Denis Gladkikh <denis@gladkikh.email>
Upstream-commit: db4e32d39e
Component: cli
2017-06-02 00:10:10 +00:00
2320ffdd73 Add bash completion for service {create,update} --group-{add,rm}
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a45c6fc8bd
Component: cli
2017-06-02 00:10:09 +00:00
f3b4d86d17 Add completion for docker events -f event=health_status
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 894c3a5cbf
Component: cli
2017-06-02 00:10:08 +00:00
e71b9e2ff4 Remove bash completion for docker volume create --name
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a916015f46
Component: cli
2017-06-02 00:10:07 +00:00
8610f5b17b Splunk Logging Driver: formats and verifyconnection
`--log-opt splunk-format=inline|json|raw` allows to change how logging
driver sends data to Splunk, where

`inline` - default value, format used before, message is injected as a
line in JSON payload
`json` - driver will try to parse each line as a JSON object and embed it
inside of the JSON payload
`raw` - driver will send Raw payload instead of JSON, tag and attributes
will be prefixed before the message

`--log-opt splunk-verify-connection=true|false` - allows to skip
verification for Splunk Url

Signed-off-by: Denis Gladkikh <denis@gladkikh.email>
Upstream-commit: 7225cc5604
Component: cli
2017-06-02 00:10:06 +00:00
a80d76377d Update zsh and bash completion scripts.
This is to update the zsh and bash completion script for
23367.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: cebe3440af
Component: cli
2017-06-02 00:10:06 +00:00
17575bfacc expose RemovalInProgress in StateString #25652
Signed-off-by: timfeirg <kkcocogogo@gmail.com>
Upstream-commit: 280a6f9663
Component: cli
2017-06-02 00:10:06 +00:00
eb6bdab31c Add --no-trunc to service/node/stack ps output
Signed-off-by: Josh Horwitz <horwitzja@gmail.com>
Upstream-commit: b5c313651f
Component: cli
2017-06-02 00:10:05 +00:00
eb11d76559 Add bash completion for docker {network,volume} ls --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9b4b730adb
Component: cli
2017-06-02 00:10:05 +00:00
88a33913c8 Add bash completion for docker volume ls --filter label
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 1cddc8ee68
Component: cli
2017-06-02 00:10:05 +00:00