da37072dda
Move bash completion logic to new subcommand: attach
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: dc5794b3060f51470998b11bb5b34d9efbe97dc3
Component: engine
2016-10-21 12:32:08 +02:00
91e3d19aab
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: a77bc8bbcf8acc40f26bd858e937a7154977943c
Component: engine
2016-10-21 12:32:08 +02:00
7fbcf96052
Merge pull request #24594 from jwendell/24355
...
Exec: Add ability to set environment variables
Upstream-commit: 1b677816f50d09650044a7dbda3807bddffdad8d
Component: engine
2016-10-20 13:26:48 +02:00
76d3fdc69b
Merge pull request #27451 from vincentbernat/fix/zsh-complete-empty
...
zsh: fix completion when docker output only has the header line
Upstream-commit: f6e9f71e706d0c456977a0a29a65ce52f63c49f9
Component: engine
2016-10-19 23:34:16 -07:00
686178dec7
Merge pull request #27542 from albers/completion-comments
...
Improve comments in bash completion
Upstream-commit: 5023d3aa7ae3fa76ee0679f5633a57259beb3b47
Component: engine
2016-10-19 20:36:40 -07:00
f4d76afea5
Add bash completion for dockerd --shutdown-timeout
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c24c1bd87f7e188012705b4d95c1f66ace59f44d
Component: engine
2016-10-19 18:59:01 +02:00
bf1e1cd730
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: e03bf1221ee2c863f25a57af4d415e2d8ff4f26c
Component: engine
2016-10-19 12:39:25 -02:00
d54e2cee24
Improve comments in bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: b0987b799ea6da792a10f8a6b065b3d7a92b0cb7
Component: engine
2016-10-19 15:35:56 +02:00
28791e5b60
Merge pull request #27316 from albers/completion-plugins
...
Align bash completion of plugins to completion of nodes and services
Upstream-commit: ff43982fbbbca71bcd9625ccc50fa8d5fb547228
Component: engine
2016-10-19 12:17:12 +02:00
b2f5d14643
Merge pull request #26421 from aaronlehmann/update-thresholds-rollbacks
...
Service update failure thresholds and rollback
Upstream-commit: 3b0660da30a23b86a2f29f1ecf3ded52ab7fe577
Component: engine
2016-10-18 15:26:24 -07:00
196b5a3aee
Merge pull request #27492 from albers/completion-run--stop-timeout
...
Add bash completion for `docker {run,create} --stop-timeout`
Upstream-commit: 701cd7996f18914176e44c90032488dd5e42f136
Component: engine
2016-10-18 17:22:47 -04:00
b2afb8eb0f
Merge pull request #27348 from albers/completion-containers
...
Improve bash completion of containers
Upstream-commit: f8031148337362ef4946f174695eb1077b4e3b72
Component: engine
2016-10-18 13:31:47 -07:00
f2f2348179
Merge pull request #27235 from albers/completion-networks
...
Align bash completion of networks to completion of nodes and services
Upstream-commit: b17107a84a8fb13ece3a87c9abe08d278c8e653a
Component: engine
2016-10-18 13:30:01 -07:00
d684678466
Merge pull request #27239 from albers/completion-volumes
...
Align bash completion of volumes to completion of nodes and services
Upstream-commit: 29cc38da53df8f4fea0c22ba77d3c6e458e1ccca
Component: engine
2016-10-18 12:27:59 -07:00
c0eebabe70
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: 6d4b527699b3e95d21d79f6b327252a6cdaca5b0
Component: engine
2016-10-18 10:09:50 -07:00
4d36451135
Add bash completion for docker {run,create} --stop-timeout
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 38dc6106098784d4141140a6d3b946b080ba5878
Component: engine
2016-10-18 15:24:28 +02:00
f3b85d76fb
Merge pull request #27471 from caarlos0/logentries
...
Added Logentries Driver
Upstream-commit: 24582e815330edd197337f17b1a0a541679f969b
Component: engine
2016-10-18 01:33:28 -07:00
23d87cfd7e
Added logentries dependency to vendor
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com >
Upstream-commit: 0f4db1cc59faddb0207db269fd660e8e1582b77a
Component: engine
2016-10-17 22:06:39 -02:00
cf21f12ebe
Improve bash completion of containers
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: b6237a8550685f865d0b8e366f4cec81fca7f4d8
Component: engine
2016-10-17 19:10:48 +02:00
fe2d726b98
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: 44b83c56b6e52e08e5c1e580b042421069707286
Component: engine
2016-10-17 17:23:09 +02:00
da8e97fdca
Align bash completion of plugins to completion of nodes and services
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: adbb943200209ba668f065b296cec509b0169c53
Component: engine
2016-10-12 05:29:26 -07:00
d0516ab406
Merge pull request #26970 from wzhliang/restart-stopped-container
...
zsh: allow restarting stopped containers by id
Upstream-commit: 6b997739fe5f4de411ccf30be574ee11a2780018
Component: engine
2016-10-11 14:37:54 +02:00
03a7d7e8f9
Align bash completion of volumes to completion of nodes and services
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 06d4c117600c99cc6d5cefc26c6692282143ff8d
Component: engine
2016-10-09 04:46:20 -07:00
be8c9639a4
Align bash completion of networks to completion of nodes and services
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 5207fe75ae32ed36c4f2d30dc91d8611e34e61da
Component: engine
2016-10-08 10:50:31 -07:00
ccf5d6bcd1
Add zsh completion for 'dockerd --init-path'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 3db52223402145e3e83d478d827abf5cfa20e981
Component: engine
2016-10-06 07:38:39 +02:00
2e8039dc97
Merge pull request #25837 from reaperhulk/support-compressing-build-context
...
Add support for compressing build context during image build
Upstream-commit: f08a450ad35706900766e7766d30a90d688e410b
Component: engine
2016-10-05 12:57:46 -07:00
84ce717a7a
Merge pull request #27097 from albers/completion-node-ps-multiple-nodes
...
Add support for multiple nodes in bash completion for `docker node ps`
Upstream-commit: 367d5b02322b8211c18b95faba1527ec591045f5
Component: engine
2016-10-02 14:38:46 +02:00
9f3299176f
Add support for multiple nodes in bash completion for docker node ps
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 9aeb69a0690d0d26bd3dea344f675b22f9ceda19
Component: engine
2016-10-02 05:18:32 -07:00
22e87ff2f2
Add bash completion for dockerd --init-path
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: d710a3e1f8d1ffeeb141a08806e18623a36d2248
Component: engine
2016-10-02 05:10:00 -07:00
02efb59787
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: 4825e58a96188e6a9c739c31966c8ac5a2bbd1d7
Component: engine
2016-09-30 17:46:08 -05:00
48a609d72c
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: 5280ba83e55b94b9d4973a15381e18eb10920233
Component: engine
2016-09-28 12:45:30 +02:00
83d24dff5e
allow restarting stopped containers by id
...
Signed-off-by: Wenzhi Liang <wenzhi.liang@gmail.com >
Upstream-commit: 568aa9675c971cba4c9043a50a46ea89480bfea3
Component: engine
2016-09-28 11:27:11 +08:00
9c391e0cdf
Fix bash completion for docker logs --since
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0e2244352a79f5d23cf874d72b6abed9be2da9f8
Component: engine
2016-09-27 18:58:48 +02:00
649581b0c1
Merge pull request #26909 from sdurrheimer/zsh-completion-stats-format
...
Add zsh completion for 'docker stats --format'
Upstream-commit: 285a9d5e351e01df255ce9345bf83fa4180ecd14
Component: engine
2016-09-26 10:32:52 -04:00
1ac60a1881
Add zsh completion for multi-nodes 'node ps'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: d918fc8e08e4e8684c7074c310d491cd15412865
Component: engine
2016-09-26 09:16:16 +02:00
8612f6b746
Add zsh completion for 'docker stats --format'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 7aa600dffbd3d5c615f74e93a1d9782c442c292d
Component: engine
2016-09-26 09:10:29 +02:00
69f06771c4
Merge pull request #26299 from allencloud/support-docker-node-ps-multi-nodes
...
support docker node ps multiNodes
Upstream-commit: c03c80b1b03f3a061072af07d6d1fb811f29a9e3
Component: engine
2016-09-23 09:50:24 +02:00
4d0761852a
Add bash completion for docker stats --format
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: ed0f53d7b6c64044a02e65251e92e7cac7f41c14
Component: engine
2016-09-21 20:19:14 +02:00
8c9dacb458
Merge pull request #26270 from AkihiroSuda/fix-typo-docker-images
...
[nit] fix the man page and zsh completion for `docker images`
Upstream-commit: be9e3f59e625a7be05f21a23f6debfb3f6728573
Component: engine
2016-09-20 15:56:23 +02:00
14f9dd10a3
Merge pull request #26268 from AkihiroSuda/eventsjsonl
...
add `docker events --format`
Upstream-commit: bb6fe56e8847112e55429309bf3ac004753ae3a8
Component: engine
2016-09-19 17:30:27 +02:00
fc3c6766ab
Merge pull request #26207 from splunk/splunk-logging-driver-performance-improvements
...
Splunk Logging Driver performance improvements
Upstream-commit: efe4e914efe5f42a5b5e424ed519fda71343f7de
Component: engine
2016-09-16 10:22:09 -07:00
e6635a948e
add docker events --format
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
Upstream-commit: 5af5a1be6209bde3f05b5f9ed4e0db0037dfe0ff
Component: engine
2016-09-15 09:55:29 +00:00
5c9eaf9226
Merge pull request #26478 from sdurrheimer/zsh-completion-service-group-add-rm
...
Add zsh completion for 'service {create,update} --group-{add,rm}'
Upstream-commit: 0deae9f2fa3672bf7e5ce5899253e498800726b7
Component: engine
2016-09-13 10:18:27 +02:00
689d1a45e3
Add zsh completion for 'service {create,update} --group-{add,rm}'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 1df220d51fcba1e6f0a03bb83f80a7d45137f385
Component: engine
2016-09-13 10:15:22 +02:00
5099b8d2c1
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: 4907cc7793cf469fc2d6fc0f842d08bd045da569
Component: engine
2016-09-12 09:00:16 -07:00
0b4dde90a0
Merge pull request #26301 from albers/completion-service-groups
...
Add bash completion for `service {create,update} --group-{add,rm}`
Upstream-commit: 5ada5f129f8c845c11daf8167a92c4c92d2b917c
Component: engine
2016-09-12 09:05:49 -04:00
69668dcc9a
support docker node ps multiNodes
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
Upstream-commit: af4461ad290d660acab5ef87b96e392263cc7cb9
Component: engine
2016-09-10 02:52:48 +08:00
640335fb90
Add completion for docker events -f event=health_status
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: d5a79579d38476121ff5ee49e74bdfd0d80a3bb7
Component: engine
2016-09-06 13:46:21 -07:00
54fd9ae518
Add bash completion for service {create,update} --group-{add,rm}
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: be455538aa452efa086df9e1a44045bab59c7a00
Component: engine
2016-09-04 05:52:50 -07:00
2f578bc37e
fix the man page and zsh completion for docker images
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
Upstream-commit: f3d9214d0b42788cfda5104e2a223e968e5a7e82
Component: engine
2016-09-02 09:52:10 +00:00