1
0
mirror of https://github.com/docker/cli.git synced 2026-01-23 15:21:32 +03:00
Commit Graph

1385 Commits

Author SHA1 Message Date
Harald Albers
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
Harald Albers
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
Sebastiaan van Stijn
0c230bcf48 Merge pull request #27327 from flixr/deb_armhf_ubuntu-trusty_buildtags
debian package: update buildtags for armhf ubuntu-trusty
Upstream-commit: 6698a66be705039f44688d4476f5016145184259
Component: engine
2016-10-20 09:52:43 -07:00
Antonio Murdaca
54cf8aade9 Merge pull request #27558 from LK4D4/update_go
project: update Go to 1.7.3
Upstream-commit: 11d52b085c58965a4c85b3f06bfa3d445f9dc398
Component: engine
2016-10-20 14:13:41 +02:00
Vincent Demeester
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
Sebastiaan van Stijn
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
Sebastiaan van Stijn
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
Alexander Morozov
5d03410dc2 project: update Go to 1.7.3
List of milestone issues https://github.com/golang/go/issues?q=milestone%3AGo1.7.3

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: 7d8831c0914b8016daee5c0b90496b581d61522d
Component: engine
2016-10-19 13:55:01 -07:00
Harald Albers
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
Jonh Wendell
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
Harald Albers
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
Vincent Demeester
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
Sebastiaan van Stijn
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
Daniel Nephin
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
Tianon Gravi
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
Sebastiaan van Stijn
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
Tianon Gravi
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
Aaron Lehmann
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
Harald Albers
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
Sebastiaan van Stijn
f3b85d76fb Merge pull request #27471 from caarlos0/logentries
Added Logentries Driver
Upstream-commit: 24582e815330edd197337f17b1a0a541679f969b
Component: engine
2016-10-18 01:33:28 -07:00
Carlos Alexandro Becker
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
Vincent Demeester
cc3045cf2d Merge pull request #27421 from jcberthon/master
builder: Add AppArmor to runc buildtags for armhf - fixes #27351
Upstream-commit: fb65df5bfe7c03a449b4d7c2c57d73de590ea2e1
Component: engine
2016-10-17 19:20:09 +02:00
Harald Albers
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
Vincent Bernat
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
Sebastiaan van Stijn
04d1de1324 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: ff405a1d2b9cb7ccbd315e882b6bd7560eb4159c
Component: engine
2016-10-16 21:13:26 -07:00
Jean-Christophe Berthon
647cbda777 builder: Add AppArmor to runc buildtags for armhf
On Raspbian and Debian Jessie for ARMv7 (aka armhf), the builtags for runc
were missing. These buildtags should include 'apparmor' and 'selinux'.

Signed-off-by: Jean-Christophe Berthon <huygens@berthon.eu>
Upstream-commit: e0c7300e3b2abea3d32d591fb01ee798ff59e0d4
Component: engine
2016-10-16 15:32:31 +00:00
Felix Ruess
f526e109d5 builder: update deb armhf ubuntu-trusty buildtags
Signed-off-by: Felix Ruess <felix.ruess@gmail.com>
Upstream-commit: 63515bc59e5be4cebaa475ec4c8fe992a6c1107d
Component: engine
2016-10-12 20:47:06 +02:00
Harald Albers
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
Alessandro Boch
3cf3d53749 Update required modules for overlay dataplane encryption
Signed-off-by: Alessandro Boch <aboch@docker.com>
Upstream-commit: 275013ce8b769082b723c4eec0850b10e6dfb7be
Component: engine
2016-10-11 14:06:55 -07:00
Sebastiaan van Stijn
2722bc3d62 Merge pull request #26565 from justincormack/pinata-bundle
Add a script to install a bundle into Docker for Mac
Upstream-commit: c98571b8f8a6e2140492e057a66c2b2b9741af33
Component: engine
2016-10-11 16:17:49 +02:00
Sebastiaan van Stijn
5a907ff50f Merge pull request #26782 from cdrage/add-nat-check-to-script
Add check for CONFIG_IP_NF_NAT to kernel check
Upstream-commit: 45d346291463a594090b96b28d110539f2d66502
Component: engine
2016-10-11 15:14:53 +02:00
Vincent Demeester
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
Harald Albers
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
Harald Albers
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
Steve Durrheimer
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
Alexander Morozov
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
Justin Cormack
b1a0a5b72b Add a script to install a bundle into Docker for Mac
After building docker from the git repo, you can run
```
./contrib/mac-install-bundle.sh install
```
and this will tell Docker for Mac to look for a bundle at the current
path to run instead of the built in version of Docker. This will persist
until you do a factory reset or run
```
./contrib/mac-install-bundle.sh undo
```

A factory reset is advised to reset as a development Docker may break your
install.

The path must be a path that is shared with Docker for Mac so that the VM
can find it - nothing is installed into the image.

This is in `contrib/` as it is a best effort attempt to make it easier for
Docker for Mac users to test master or pull requests. If it breaks anything
a factory reset is your friend.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Upstream-commit: 6860c101ad4df6de30453ab39c4c26099f1fe137
Component: engine
2016-10-05 13:21:18 +02:00
Justin Cormack
fbb94af7cf Merge pull request #27042 from mlaventure/remove-ubuntu-wily
Remove Ubuntu 15.10 (Wily Werewolf) from build-deb targets
Upstream-commit: d4b8bf49ddb43d148a07414920bbf6f46b56ba72
Component: engine
2016-10-05 12:19:05 +02:00
Kenfe-Mickael Laventure
94417a16f4 Remove Ubuntu 15.10 (Wily Werewolf) from build-deb targets
As of July 28, 2016, it is officially EOL (https://lists.ubuntu.com/archives/ubuntu-announce/2016-July/000210.html) and will receive no further updates.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Upstream-commit: e9a81057086cf9834cce4c49c6f8ef035938fc64
Component: engine
2016-10-04 13:01:00 -07:00
Charlie Drage
0917756ee5 Add check for CONFIG_IP_NF_NAT to kernel check
This appears to be missing. NAT (via iptables) is required in order to
setup Docker networking.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
Upstream-commit: 2fb2361b29aeaa0d0f931f55db372bc8f56b4c60
Component: engine
2016-10-04 12:14:45 -04:00
Brian Goff
674e83fb8c Merge pull request #27085 from alexchenfeng/master
add check flag for CONFIG_NETFILTER_XT_MATCH_IPVS CONFIG_IP_VS_NFCT C…
Upstream-commit: ce64a9bffd8f0411bbd34f6ea690b7e129898b02
Component: engine
2016-10-03 14:23:07 -04:00
Sebastiaan van Stijn
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
Harald Albers
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
Harald Albers
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
alexchen
707bb1cca6 add check flag for CONFIG_NETFILTER_XT_MATCH_IPVS CONFIG_IP_VS_NFCT CONFIG_IP_VS_RR in contrib/check-config.sh
Signed-off-by: alexchen <alexchenunix@gmail.com>
Upstream-commit: 4c74469d30a71c53cc6b309a3c0048191b1ac008
Component: engine
2016-10-01 09:50:17 +08:00
Paul Kehrer
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
Vincent Demeester
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
Wenzhi Liang
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
Harald Albers
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
Alexander Morozov
0cc382f1ee Merge pull request #26920 from tophj-ibm/add-1404-make-debs
ppc64le: add files for supporting 14.04 'make debs'
Upstream-commit: 1dbf3c65e15a2d021cc15ded9caaf6192d58970b
Component: engine
2016-09-27 07:54:57 -07:00