Andrew Pennebaker
2f5146ba1d
support *.Dockerfile
...
Probably a good idea to treat `*.Dockerfile` as dockerfile format as well. In general, it's better to use the `Dockerfile` part as an extension rather than a basename.
Signed-off-by: Andrew Pennebaker <andrew.pennebaker@gmail.com>
2017-10-22 11:16:06 -05:00
Andreas Elvers
547dd4f95d
fixing return value
...
Signed-off-by: Andreas Elvers <andreas@work.de>
2017-10-13 13:59:48 +02:00
Sebastiaan van Stijn
33e8141f63
Bump Go to 1.8.4
...
Bumps the Go version used to 1.8.4, which contains
security fixes; https://groups.google.com/forum/#!topic/golang-announce/1hZYiemnkdE
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-10-04 23:22:23 +02:00
Daniel Nephin
f7f101d57e
Add gosimple linter
...
Update gometalinter
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-09-12 12:09:59 -04:00
Remy Suen
abd39744c6
Update tmLanguage file to not be case sensitive
...
While convention states that Dockerfile instructions should be
written in uppercase, the engine allows them to be mixed case or in
lowercase. The tmLanguage file should tolerate this and provide
highlighting support even if instructions are not written in
uppercase.
Signed-off-by: Remy Suen <remy.suen@gmail.com>
2017-08-05 19:45:54 +09:00
Derek McGowan
1009e6a40b
Update logrus to v1.0.1
...
Fixes case sensitivity issue
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-07-31 13:16:46 -07:00
WENJUN TANG
fa900bd30a
Update mkimage-yum.sh
...
If you want to makeimage using the group "Compute Node" and so on, you must add “ ” to include the $install_groups, or it will format the text as below:
yum -c /etc/yum.conf --installroot=/tmp/makeimage.sh.zOLs8y --releasever=/ --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y groupinstall Compute Node
That's absolutely incorrect.
Change-Id: I8b6b09f215aabd6b1f76c9365ba96c68722c47fd
Signed-off-by: dodia <tangwj2@lenovo.com>
2017-07-27 10:40:00 +08:00
Jacob Wen
238d17c456
Handle https proxy's CONNECT response
...
When using a https proxy, an extra HTTP 200 header will be generated.
So we can't rely on detecting the first http header.
$curlHeaders with https proxy:
"HTTP/1.0 200 Connection established <-- the https proxy's response
HTTP/1.1 307 Temporary Redirect
...
"
See https://stackoverflow.com/a/34537988/889429
Fixes #34131
Signed-off-by: Jacob Wen <jian.w.wen@oracle.com>
2017-07-21 10:13:04 +08:00
Tianon Gravi
4bbdc0b8f7
Update "download-frozen-image-v2.sh" such that redirects are optional
...
If the registry responds directly with blob contents, use them,
otherwise follow the redirect without Authorization headers (which
likely aren't valid for the server being redirected to).
This preserves the basic structure of the previous output with up to one
additional progress bar per-layer (for the redirect request and then the
following blob request).
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
2017-06-22 15:54:50 -07:00
Alexander Midlash
5c38e4c16a
Update downloader script, to ensure that Authorization header is not passed when downloading blobs.
...
Signed-off-by: Alexander Midlash <amidlash@docker.com>
2017-06-22 15:54:50 -07:00
Sebastiaan van Stijn
5f0062f0fa
Merge pull request #33776 from thaJeztah/remove-deprecated-mkimage
...
Remove deprecated contrib/mkimage-xyz scripts
2017-06-21 22:41:48 -07:00
Sebastiaan van Stijn
d14fb3ac4e
Remove deprecated contrib/mkimage-xyz scripts
...
The contrib/mkimage-busybox.sh, contrib/mkimage-debootstrap.sh,
and contrib/mkimage-rinse.sh were deprecated in commit
51f707cf9d
, in favor of
their equivalents in contrib/mkimage/
Given that the deprecation warning has been in place
for over three years, it's save to now remove these.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-21 21:56:24 -07:00
Daniel Nephin
b877fc31c5
Remove pkcs11, libltdl-dev, and clang for osx.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-21 11:18:44 -04:00
Robert Schneider
23f0c20b02
Add option for architecture to mkimage-alpine.sh
...
Signed-off-by: Robert Schneider <mail@shakeme.info>
2017-06-15 15:52:25 +02:00
Robert Schneider
a89d282dbb
Fix getopts in mkimage-alpine.sh
...
Signed-off-by: Robert Schneider <mail@shakeme.info>
2017-06-15 15:51:56 +02:00
Tibor Vass
b5579a4ce3
Remove docs (except docs/api), experimental/, contrib/completion, man/
...
They have been moved to github.com/docker/cli.
Signed-off-by: Tibor Vass <tibor@docker.com>
2017-06-14 03:14:46 +00:00
Sebastiaan van Stijn
2b8f0eef73
Update docs, completion scripts for disable-legacy-registry
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-12 11:04:37 +02:00
Eli Uriegas
b8bcf7005c
Use internal systemd scripts for DEB packaging
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2017-06-06 14:56:39 -07:00
Eli Uriegas
bb68bc5ae2
Add initial systemd scripts
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2017-06-06 11:32:27 -07:00
vanderliang
cb502cd4e8
Fix downloading image fails when build docker
...
Generate a token for each download process to avoid token expired.
Closes : #33441
Signed-off-by: vanderliang <lansheng@meili-inc.com>
2017-05-31 14:21:32 +08:00
Brian Goff
0c7c900e9e
Bump go to go1.8.3
...
Note that go1.8.2 contains a security fix (CVE-2017-8932).
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-05-30 10:15:59 -04:00
Vincent Demeester
08894a7f23
Merge pull request #33095 from chrisdias/chrisdias/multistagebuild
...
syntax highlighting: support FROM...AS for multi stage build
2017-05-24 11:35:17 -07:00
Sebastiaan van Stijn
4050e3061c
Merge pull request #33167 from utzb/rpmbuilds
...
adding rpm builds for ppc64le and s390x
2017-05-24 17:24:23 +01:00
chrisdias
8523e9d108
Support FROM...AS syntax for multi stage build dockerfiles
...
Signed-off-by: chrisdias <cdias@microsoft.com>
2017-05-22 18:12:10 -07:00
Sebastiaan van Stijn
a30ef99e8d
Merge pull request #33151 from nwt/push-foreign-layers
...
Add daemon option to push foreign layers
2017-05-17 02:04:31 +02:00
Noah Treuhaft
67fdf574d5
Add daemon option to push foreign layers
...
The --allow-nondistributable-artifacts daemon option specifies
registries to which foreign layers should be pushed. (By default,
foreign layers are not pushed to registries.)
Additionally, to make this option effective, foreign layers are now
pulled from the registry if possible, falling back to the URLs in the
image manifest otherwise.
This option is useful when pushing images containing foreign layers to a
registry on an air-gapped network so hosts on that network can pull the
images without connecting to another server.
Signed-off-by: Noah Treuhaft <noah.treuhaft@docker.com>
2017-05-16 14:36:36 -07:00
Sebastiaan van Stijn
20255ade29
Merge pull request #32700 from jphuynh/more-maintainer-deprecation
...
MAINTAINER deprecation follow up. Relates to #25466
2017-05-13 17:28:52 +02:00
Brian Goff
c307f4521e
Merge pull request #32437 from cpuguy83/container_selinux
...
Rely on container-selinux for centos/fedora25/rhel
2017-05-12 09:23:17 -04:00
Utz Bacher
539e976aa9
adding rpm builds for ppc64le and s390x
...
Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
Signed-off-by: Dominik Dingel <dingel@de.ibm.com>
Signed-off-by: Thorsten Winkler <thorsten.winkler@de.ibm.com>
Signed-off-by: Utz Bacher <utz.bacher@de.ibm.com>
2017-05-12 01:26:55 +02:00
Sebastiaan van Stijn
d8908c3467
Merge pull request #33049 from albers/completion-log-options
...
Update bash completion for log driver options
2017-05-12 01:02:34 +02:00
Sebastiaan van Stijn
33ebf32cb0
Merge pull request #33108 from justincormack/revert-seccomp-sockets
...
Revert "Block obsolete socket families in the default seccomp profile"
2017-05-12 00:30:08 +02:00
Madhu Venugopal
ff86a9196b
Merge pull request #29030 from cpuguy83/go18_test
...
Update go to 1.8
2017-05-11 05:18:12 -07:00
Kenfe-Mickaël Laventure
71d29266ff
Merge pull request #33044 from albers/completion-dm-storage-opts
...
Add bash completion for new devicemapper storage options
2017-05-10 17:59:56 -07:00
Brian Goff
470dfd69b3
Update golang to 1.8
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-05-10 20:06:27 -04:00
Sebastiaan van Stijn
2a7a938da4
Merge pull request #33045 from albers/completion--health-start-period
...
Add bash completion for `--health-start-period`
2017-05-10 15:54:43 +02:00
Justin Cormack
dcf2632945
Revert "Block obsolete socket families in the default seccomp profile"
...
This reverts commit 7e3a596a63
.
Unfortunately, it was pointed out in https://github.com/moby/moby/pull/29076#commitcomment-21831387
that the `socketcall` syscall takes a pointer to a struct so it is not possible to
use seccomp profiles to filter it. This means these cannot be blocked as you can
use `socketcall` to call them regardless, as we currently allow 32 bit syscalls.
Users who wish to block these should use a seccomp profile that blocks all
32 bit syscalls and then just block the non socketcall versions.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-09 14:26:00 +01:00
Harald Albers
8f159358fb
bash completion for stack deploy --prune
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-05-08 10:14:15 +02:00
Harald Albers
bad7d1fa2f
Update bash completion for log driver options
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-05-05 16:52:33 +02:00
Harald Albers
cbf8c07e9e
Add bash completion for --health-start-period
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-05-05 15:04:44 +02:00
Harald Albers
37747a0fce
Add bash completion for new devicemapper storage options
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-05-05 14:31:22 +02:00
Brian Goff
adb2ddf288
Rely on container-selinux for centos/fedora25/rhel
...
RH now provides `container-selinux` which provides everything we need
for docker's selinux policy. Rely on `container-selinux` where
available, and `docker-engine-selinux` when not.
This still builds the `docker-engine-selinux` package and presumably
makes it available, but is no longer a requirement in the
`docker-engine` package preferring `container-selinux` instead.
`container-selinux` is available on fedora24, however the version that
is available does not set the correct types on the `dockerd` binary. We
can use `container-selinux` and just supplement that with some of our
own policy, but for now just keep using `docker-engine-selinux` as is.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-05-01 11:23:18 -04:00
Sebastiaan van Stijn
68a5336b61
Merge pull request #32882 from albers/completion-stack-ls--format
...
Add bash completion for `stack ls --format`
2017-04-27 15:13:05 -07:00
Sebastiaan van Stijn
294c9eab56
Merge pull request #32884 from albers/completion-system-df--format
...
Add bash completion for `system df --format`
2017-04-27 15:10:17 -07:00
Brian Goff
420b67f892
Merge pull request #32896 from albers/completion-attach
...
Add missing bash completion for `docker attach`
2017-04-27 13:57:27 -04:00
Brian Goff
6b5a02e95c
Merge pull request #32887 from albers/completion-remove--init-path
...
Remove bash completion for `run|create --init-path`
2017-04-27 13:53:47 -04:00
Sebastiaan van Stijn
2881e2be58
Merge pull request #32883 from albers/completion-history--format
...
Add bash completion for `history --format`
2017-04-27 10:51:12 -07:00
Harald Albers
afbd5a79ca
Add missing bash completion for docker attach
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-27 16:59:32 +02:00
Harald Albers
b7a32e1780
Remove bash completion for run|create --init-path
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-27 11:02:33 +02:00
Harald Albers
69a2ca0d44
Add bash completion for system df --format
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-27 10:29:19 +02:00
Harald Albers
c3e161fb52
Add bash completion for history --format
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-27 10:18:55 +02:00
Harald Albers
b065ed3ec2
Add bash completion for stack ls --format
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-27 10:01:17 +02:00
Flavio Crisciani
8dc8cd4719
Inroduce SWARM --data-path-addr flag
...
This new flag will allow the configuration of an interface that
can be used for data path traffic to be isolated from control
plane traffic. This flag is simply percolated down to libnetwork
and will be used by all the global scope drivers (today overlay)
Negative test added for invalid flag arguments
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
2017-04-26 15:33:15 -07:00
Jean-Pierre Huynh
2c435ab8be
MAINTAINER deprecation follow up. Relates to #25466
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
2017-04-18 16:44:33 -05:00
Harald Albers
ee785b1b98
Remove bogus statement from bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-18 10:50:02 +02:00
Brian Goff
b7794ac46f
Merge pull request #32597 from albers/completion-service-logs
...
Bash completion treats `docker service logs` as stable
2017-04-13 09:29:16 -04:00
Harald Albers
47615c9b9b
Bash completion treats service logs
as stable
...
Implements the following new CLI features:
- service logs is no longer experimental
- service logs also accepts task IDs
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-13 09:58:31 +02:00
Corey Farrell
eede2056fe
Fix bash-completion script.
...
bash-completion script for 'docker build --network' calls
__docker_plugins, the correct name for this function is
__docker_plugins_bundled.
Closes #32588
Signed-off-by: Corey Farrell <git@cfware.com>
2017-04-12 21:36:29 -04:00
yuexiao-wang
78b2c1a84a
Fix inconsisticy for service logs
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2017-04-12 22:43:14 +08:00
Sebastiaan van Stijn
618d6bd0ce
Remove Ubuntu 12.04 "precise pangolin" from build scripts
...
Ubuntu 12.04 will be EOL on April 28, after which it won't
receive updates and security fixes;
https://lists.ubuntu.com/archives/ubuntu-announce/2017-March/000218.html
This patch removes Ubuntu 12.04 from the build scripts
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-04-11 14:08:39 +02:00
Harald Albers
dc0523313e
Bash completion supports multiple stacks in stack rm
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-11 08:29:55 +02:00
Victor Vieux
7da7fc3ad0
Merge pull request #32492 from icecrime/update_gitdm_domain-map
...
Update gitdm domain-map
2017-04-10 14:54:12 -07:00
Arnaud Porterie (icecrime)
bfb6815f48
Update gitdm domain-map
...
Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com>
2017-04-10 14:28:27 -07:00
Harald Albers
ef77f002e7
Add bash completion for node ls --format
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-10 12:57:32 -07:00
Sebastiaan van Stijn
9b2ac77f64
Merge pull request #31877 from albers/completion-update--cpus
...
Add bash completion for `update --cpus`
2017-04-10 21:43:16 +02:00
Sebastiaan van Stijn
a8c714a7c0
Add Ubuntu 17.04 Zesty Zapus
...
Ubuntu 17.04 will be released soon http://releases.ubuntu.com/zesty/
Note that this is a short-term release, so will
EOL (and removed again) in 9 months
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-04-07 13:58:44 +02:00
Akihiro Suda
77fe35b3b9
cli: add --mount
to docker run
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-04-05 04:52:08 +00:00
Harald Albers
a70ca85891
Improve bash completion for --log-opt awslogs-create-group
...
Add completion for the possible values `true`|`false`, correct sort order.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-03 11:29:31 -07:00
Sebastiaan van Stijn
93955bd215
Merge pull request #32305 from albers/completion-secret-ls--format
...
Add bash completion for `secret ls --format`
2017-04-03 15:43:12 +02:00
Harald Albers
f844e57315
Add bash completion for secret ls --format
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-02 15:32:33 -07:00
Sebastiaan van Stijn
6311e9fc9d
Merge pull request #32027 from sdurrheimer/zsh-completion-ps-format
...
Add zsh completion for 'docker {node,service,stack} ps --format'
2017-04-02 23:38:22 +02:00
Vincent Demeester
1ecaed0a99
Merge pull request #28696 from jlhawn/deprecate_graph_flag
...
Deprecate --graph flag; Replace with --data-root
2017-03-31 10:51:15 +02:00
Steve Durrheimer
07908f456a
Add zsh completion for 'docker {node,service,stack} ps --format'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-30 21:07:03 +02:00
Vincent Demeester
ee61f28cc3
Merge pull request #32124 from vdemeester/system-inspect-secret
...
Add support for `--type=secret` in `docker inspect`
2017-03-30 17:01:57 +02:00
Josh Hawn
261ef1fa27
Deprecate --graph flag; Replace with --data-root
...
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2017-03-30 11:24:56 +02:00
Harald Albers
31a8965dd4
Add bash completion for secret ls --format
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-29 13:54:38 -07:00
Sebastiaan van Stijn
1b2f07a2f1
Merge pull request #31501 from thtanaka/update-oracle-selinux
...
Update oracle linux selinux to match docker upstream
2017-03-29 13:15:28 +02:00
Vincent Demeester
71129f6be6
Add support for --type=secret
in docker inspect
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-03-28 10:48:48 +02:00
Sebastiaan van Stijn
ae811e9597
Merge pull request #32114 from sdurrheimer/zsh-completion-network-ls-scope-filter
...
Add zsh completion for 'docker network ls --filter scope'
2017-03-27 18:36:08 +02:00
Steve Durrheimer
fd6e74491b
Add missing zsh completion for 'docker plugin ls'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-26 17:33:05 +02:00
Steve Durrheimer
0bd255f397
Add zsh completion for 'docker network ls --filter scope'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-26 17:04:59 +02:00
Vincent Demeester
ab08a571d1
Merge pull request #31976 from Microsoft/jjh/csbooboo
...
Windows: Remove --credentialspec flag
2017-03-26 12:44:27 +02:00
Thomas Tanaka
fc7cc1cc75
Update oracle linux selinux to match docker upstream
...
Add a dependency on specific selinux version for OL on docker-engine.spec
Signed-off-by: Thomas Tanaka <thomas.tanaka@oracle.com>
2017-03-24 12:17:39 -07:00
Harald Albers
4dd461a6bf
Add bash completion for network ls --filter scope
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-24 13:06:26 +01:00
John Howard (VM)
53d6aadda5
Windows: Remove --credentialspec flag
...
Signed-off-by: John Howard (VM) <jhoward@ntdev.microsoft.com>
2017-03-23 10:01:04 -07:00
Vincent Demeester
d9ecb1b8fe
Merge pull request #32028 from sdurrheimer/zsh-completion-service-ls-mode-filter
...
Add zsh completion for 'docker service ls --filter mode'
2017-03-23 14:19:36 +01:00
Vincent Demeester
f438cf6c7a
Merge pull request #32029 from sdurrheimer/zsh-completion-secret-ls-format
...
Add zsh completion for 'docker secret ls --format'
2017-03-23 14:19:14 +01:00
Brian Goff
6fe5eb010e
Merge pull request #32020 from sdurrheimer/zsh-completion-service-create-update-rollback-on-failure
...
Add zsh completion for 'docker service {create,update} --rollback-*'
2017-03-22 22:02:51 -04:00
Brian Goff
cf4589666b
Merge pull request #32025 from sdurrheimer/zsh-completion-service-logs-formatting
...
Add zsh completion for 'docker logs --no-task-ids --no-trunc'
2017-03-22 22:02:14 -04:00
Brian Goff
7a607efcd6
Merge pull request #32022 from sdurrheimer/zsh-completion-service-create-update-stop-signal
...
Add zsh completion for 'docker service {create,update} --stop-signal'
2017-03-22 22:01:15 -04:00
Brian Goff
18cf0a5910
Merge pull request #32026 from sdurrheimer/zsh-completion-network-inspect-verbose
...
Add zsh completion for 'docker network inspect --verbose'
2017-03-22 21:59:26 -04:00
Brian Goff
b573c23e6b
Merge pull request #32017 from sdurrheimer/zsh-completion-build-add-host
...
Add zsh completion for 'docker build --add-host'
2017-03-22 21:58:47 -04:00
Steve Durrheimer
4147048256
Add zsh completion for 'docker secret ls --format'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-22 23:56:29 +01:00
Steve Durrheimer
94b6e810e0
Add zsh completion for 'docker service ls --filter mode'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-22 23:52:36 +01:00
Steve Durrheimer
b30906e29c
Add zsh completion for 'docker network inspect --verbose'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-22 23:35:07 +01:00
Steve Durrheimer
415e453a55
Add zsh completion for 'docker service {create,update} --placement-pref'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-22 23:30:22 +01:00
Steve Durrheimer
516edbcabb
Add zsh completion for 'docker logs --no-task-ids --no-trunc'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-22 23:26:33 +01:00
Steve Durrheimer
6121a011ba
Add zsh completion for 'docker service {create,update} --stop-signal'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-22 22:49:57 +01:00
Steve Durrheimer
169745ce29
Add zsh completion for 'docker service {create,update} --rollback-*'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-22 22:40:46 +01:00
Steve Durrheimer
fbedc588be
Add zsh completion for 'docker build --add-host'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-03-22 22:28:09 +01:00
Sebastiaan van Stijn
1ed277a268
Merge pull request #31915 from albers/fix-completion-node-update
...
Bash completion for `docker node update` completes only one node
2017-03-20 14:10:25 +01:00
Sebastiaan van Stijn
04da404175
Merge pull request #31891 from ngaro/master
...
Fix zsh-completion for containers in status 'created'
2017-03-18 03:09:29 +01:00
Nikolas Garofil
e5a327ff2f
Fix zsh-completion for containers in status 'created'
...
This patch makes sure that containers in the created-stated are
counted as stopped containers. Otherwise if you create a container,
don't run it and type: "docker rm ", followed by pressing tab in zsh, it won't show up.
Signed-off-by: Nikolas Garofil <nikolas.garofil@uantwerpen.be>
Signed-off-by: Nikolas Garofil <nikolas@garofil.be>
2017-03-18 02:09:34 +01:00
Harald Albers
aea95471c4
Bash completion for docker node update
completes only one node
...
`docker node update` accepts only one node.
Before this change, bash completion would complete additional nodes.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-17 09:33:55 +01:00
Harald Albers
cac3775de8
Improve bash completion for docker rm
...
`docker rm` can delete containers in state=created, too.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-17 09:21:37 +01:00
Harald Albers
8eac1daa81
Add bash completion for service ls --filter mode
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-16 16:31:57 +01:00
Vincent Demeester
c8d109842a
Merge pull request #31881 from albers/completion-ps--format
...
Add bash completion for `node|service|stack ps --format`
2017-03-16 14:56:26 +01:00
Harald Albers
1bf7d2c2b4
Add bash completion for node|service|stack ps --format
...
Also add `--quiet|-q` where it was missing.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-16 12:59:32 +01:00
Harald Albers
74bd089952
Add bash completion for update --cpus
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-16 11:53:44 +01:00
Harald Albers
693a418612
Add bash completion for network inspect --verbose
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-14 15:37:59 -07:00
Harald Albers
93546c257a
Update bash completion for docker service logs
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-14 17:28:58 +01:00
Sebastiaan van Stijn
0f212b57e8
Merge pull request #31635 from christopher-gibson/master
...
Fix fish autocompletion with custom ps output
2017-03-14 11:28:59 +01:00
Harald Albers
71aba36d5a
Add bash completion for topology-aware scheduling
...
- bash completion for `docker service create --placement-pref`
- bash completion for `docker service update --placement-pref-{add,rm}`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-14 08:37:05 +01:00
Justin Cormack
4108d6259a
Merge pull request #31193 from docbobo/master-aarch64
...
Support for debian-jessie on aarch64
2017-03-14 00:45:30 +00:00
Harald Albers
d1340b9440
Fix bash completion for service constraints
...
- Remove bash completion for `service update --constraint`
- Add bash completion for `service update --constraint-{add,rm}`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-13 16:52:38 +01:00
Harald Albers
994948a08f
Improve bash completion for create|run --stop-signal
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-09 09:06:35 +01:00
Harald Albers
81cbf49e52
Add bash completion for service create|update --stop-signal
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-09 09:02:00 +01:00
Boris Pruessmann
fcadb77b97
seccomp support for debian jessie
...
Based on jessie-backports.
Signed-off-by: Boris Pruessmann <boris@pruessmann.org>
2017-03-08 20:02:18 +01:00
Chris Gibson
b4a1634cec
Fix fish autocompletion with custom ps output
...
In the docker config.json, if `psFormat` or `imagesFormat` is set to a
non-standard format, it breaks autocompletion.
This fixes the issue by using a custom format.
Signed-off-by: Chris Gibson <chris@chrisg.io>
2017-03-08 14:19:48 +08:00
Kenfe-Mickaël Laventure
c6e102c830
Merge pull request #31194 from albers/completion-volume-aliases
...
Add support for command aliases to bash completion of `docker volume`
2017-03-06 09:52:41 -08:00
Harald Albers
07a5119b1a
Improve bash completion for service create|update --update-failure-action
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-05 10:42:44 -08:00
Harald Albers
5a9425c417
Add bash completion for service create|update --rollback-*
...
Also remove wrong completion for `docker service create --rollback`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-05 10:41:19 -08:00
Boris Pruessmann
2ca57fe0b0
Added support for debian-stretch (aarch64)
...
Signed-off-by: Boris Pruessmann <boris@pruessmann.org>
2017-03-03 23:09:33 +01:00
Sebastiaan van Stijn
57fd478169
Merge pull request #31083 from xulike666/fight-for-readability
...
fix some typos from module contrib to man
2017-03-03 15:13:01 +01:00
Harald Albers
76f4681b56
Improve POSIX compatibility of bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-03 10:26:33 +01:00
Vincent Demeester
3b5d8e6a8d
Merge pull request #31339 from albers/completion-service-ps--only-one-service
...
Bash completion for `docker service ps` completes only one service
2017-03-02 11:21:17 +01:00
Vincent Demeester
ae00a139cb
Merge pull request #31190 from albers/completion-hide-aliases
...
Hide aliases in bash completion of `docker node|service`
2017-02-28 16:54:53 +01:00
Victor Vieux
406addf3f7
Merge pull request #31388 from ddingel/s390_add_yakkety
...
Add support for s390x ubuntu-yakkety deb
2017-02-27 14:22:53 -08:00
Sebastiaan van Stijn
8b6ae13c08
Merge pull request #31314 from williamh/split-openrc-log
...
contrib/init/openrc: allow separate logs for stdout and stderr
2017-02-27 19:31:57 +01:00
Dominik Dingel
7f54153ba8
Add support for s390x ubuntu-yakkety deb
...
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
2017-02-27 14:52:43 +01:00
Harald Albers
8de3eb0486
Add bash completion for docker build --add-host
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-27 12:56:57 +01:00
Harald Albers
a7b2f8dd8f
Bash completion for docker service ps
completes only one service
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-24 16:50:00 +01:00
Vincent Demeester
3470c8d767
Merge pull request #31330 from albers/completion-fix-node-plus-self
...
Fix bash completion for `docker service ps --filter node`
2017-02-24 15:35:27 +01:00
Vincent Demeester
d65a721f40
Merge pull request #31329 from albers/completion-desired-state-shutdown
...
Add completion for `--filter desired-state=shutdown`
2017-02-24 15:33:52 +01:00
Harald Albers
23b0c39fa6
Add bash completion for missing filters of docker node ls
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-24 14:29:23 +01:00
Harald Albers
4fb663a3b4
Fix bash completion for docker service ps --filter node
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-24 14:09:26 +01:00
Harald Albers
55fcfe7e8b
Add completion for --filter desired-state=shutdown
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-24 13:31:59 +01:00
William Hubbs
65c1a3be5b
contrib/init/openrc: allow separate logs for stdout and stderr
...
Signed-off-by: William Hubbs <w.d.hubbs@gmail.com>
2017-02-23 17:07:26 -06:00
Harald Albers
270a7bb501
Activate bash completion for Windows executable
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-23 14:45:18 +01:00
Boris Pruessmann
f9543b339d
Added debian-jessie for aarch64
...
Adding debian-jessie as output for running make deb on aarch64. Also
update GO_VERSION to 1.8 to fix issues with incorrect pagesize.-
Signed-off-by: Boris Pruessmann <boris@pruessmann.org>
2017-02-21 07:43:57 +01:00
Harald Albers
073047101e
Add support for command aliases to bash completion of docker volume
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-20 18:19:57 +01:00
Harald Albers
52330a907a
Hide aliases in bash completion of docker node|service
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-20 16:48:42 +01:00
Aaron.L.Xu
e0577d5fe8
fix some typos from module contrib to man
...
Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn>
2017-02-18 10:08:55 +08:00
Brian Goff
e412e33a2f
Merge pull request #30946 from sdurrheimer/zsh-completion-log-opts
...
Add zsh completion for docker log options 'max-buffer-size|mode'
2017-02-16 20:51:31 -05:00
Victor Vieux
3167bb8629
Merge pull request #29957 from ilianaw/amazonlinux-rpms
...
Build the docker-engine RPM for Amazon Linux
2017-02-15 09:40:03 -08:00
Steve Durrheimer
ba97d6be90
Add zsh completion for docker log options 'max-buffer-size|mode'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-15 08:49:13 +01:00
Brian Goff
e70227e6d2
Merge pull request #30873 from albers/completion-fix-start--checkpoint
...
Fix bash completion for `start --checkpoint`
2017-02-14 16:00:15 -05:00
Brian Goff
03db46362e
Merge pull request #30941 from sdurrheimer/zsh-completion-service-logs
...
Add zsh completion for 'docker service logs' command
2017-02-14 15:59:19 -05:00
Brian Goff
4f6e4bfd02
Merge pull request #30943 from sdurrheimer/zsh-completion-checkpoint
...
Add zsh completion for 'docker checkpoint' commands
2017-02-14 15:58:45 -05:00
Brian Goff
da9a162301
Merge pull request #30945 from sdurrheimer/zsh-completion-plugin
...
Add zsh completion for missing 'docker plugin' commands and options
2017-02-14 15:57:25 -05:00
Vincent Demeester
24523d9b75
Merge pull request #30396 from sdurrheimer/zsh-completion-hide-legacy-commands
...
Zsh completion hide legacy commands
2017-02-14 19:42:25 +01:00
Vincent Demeester
4163b5cbd5
Merge pull request #30983 from tianon/usr-bin-env-bash
...
Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"
2017-02-13 20:48:05 +01:00
Kenfe-Mickaël Laventure
c9fa3eed1b
Merge pull request #30823 from albers/completion-plugin-upgrade
...
Add bash completion for `docker plugin upgrade`
2017-02-13 11:09:21 -08:00
Tianon Gravi
52379fa76d
Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"
...
This is especially important for distributions like NixOS where `/bin/bash` doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS.
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2017-02-13 11:01:54 -08:00
Alexander Morozov
ca3f82752c
Merge pull request #30980 from albers/completion-mode-non-blocking
...
Fix bash completion for `--log-opt mode`
2017-02-13 11:00:27 -08:00
Vincent Demeester
5870675ebc
Merge pull request #29864 from tianon/schemaVersion-2
...
Update "download-frozen-image-v2.sh" for schemaVersion 2
2017-02-13 19:53:19 +01:00
Harald Albers
2c52ec8403
Add bash completion for docker plugin upgrade
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-13 19:36:54 +01:00
Harald Albers
1fdb54eaf3
Fix bash completion for --log-opt mode
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-13 18:49:37 +01:00
Brian Goff
9ec42d4c3c
Merge pull request #30948 from sdurrheimer/zsh-completion-service-format
...
Add zsh completion for 'docker {service ls,stack services} --format'
2017-02-13 09:57:15 -05:00
Brian Goff
ae190da1d2
Merge pull request #30949 from sdurrheimer/zsh-completion-ps-ports-filter
...
Add zsh completion for 'docker {ps,service ls} --filter expose|publish'
2017-02-13 09:44:46 -05:00
Brian Goff
6ab2220043
Merge pull request #30947 from sdurrheimer/zsh-completion-daemon-default-shm-size
...
Add zsh completion for 'dockerd --default-shm-size'
2017-02-13 09:34:42 -05:00
Brian Goff
0d9bb4ee12
Merge pull request #30944 from sdurrheimer/zsh-completion-build-squash
...
Add zsh completion for 'docker build --squash'
2017-02-13 09:33:39 -05:00
Sebastiaan van Stijn
27ab008626
Merge pull request #30940 from sdurrheimer/zsh-completion-swarm-unlock-cmds
...
Add zsh completion for 'docker swarm unlock|unlock-key' commands
2017-02-12 23:35:46 -08:00
Steve Durrheimer
ac56080930
Add zsh completion for 'docker {ps,service ls} --filter expose|publish'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 21:24:13 +01:00
Steve Durrheimer
8afb7f035d
Add zsh completion for 'docker {service ls,stack services} --format'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 21:17:00 +01:00
Steve Durrheimer
1c387303af
Add zsh completion for 'dockerd --default-shm-size'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 21:10:37 +01:00
Steve Durrheimer
7ee899065f
Add zsh completion for missing 'docker plugin' commands and options
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 20:52:15 +01:00
Steve Durrheimer
5b3f5f97f2
Add zsh completion for 'docker build --squash'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 20:11:13 +01:00
Steve Durrheimer
0011a9eddd
Add zsh completion for 'docker checkpoint' commands
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 20:06:38 +01:00
Steve Durrheimer
a89a104fb6
Add zsh completion for 'docker service logs' command
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 17:54:34 +01:00
Steve Durrheimer
e9a10ef4ad
Add zsh completion for 'docker swarm unlock|unlock-key' commands
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 17:44:17 +01:00
Steve Durrheimer
e31a6f278b
Add zsh completion for missing 'docker swarm init|update' options
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 17:31:32 +01:00
Harald Albers
33d9b58472
Fix bash completion for start --checkpoint
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-09 14:41:50 +01:00
Iliana Weller
0b0216b67b
Build the docker-engine RPM for Amazon Linux
...
Signed-off-by: Iliana Weller <iweller@amazon.com>
2017-02-08 16:19:22 -08:00
Steve Durrheimer
7027cd5b37
Fix useless trailing backslash in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-08 08:11:20 +01:00
Steve Durrheimer
d41ceb9d73
Add cache invalidation in zsh completion when the DOCKER_HIDE_LEGACY_COMMANDS envvar changes
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-08 08:10:34 +01:00
Kenfe-Mickaël Laventure
1459dc573a
Merge pull request #30642 from albers/completion-improve-plugin-enable
...
Improve bash completion for `docker plugin enable|disable`
2017-02-07 17:58:12 -08:00
Kenfe-Mickaël Laventure
9f8a7b6b45
Merge pull request #30638 from albers/completion-ps-filter-by-ports
...
Add bash completion for `docker ps --filter expose|publish`
2017-02-07 13:38:19 -08:00
Kenfe-Mickaël Laventure
a19ead01be
Merge pull request #30640 from albers/completion-plugin-ls--filter
...
Add bash completion for `docker plugin ls --filter`
2017-02-07 13:32:29 -08:00
Vincent Demeester
191719e39a
Merge pull request #30710 from albers/completion-service--format
...
Add bash completion for `(stack services|service ls) --format`
2017-02-06 11:44:26 +01:00
Alexander Morozov
ea4d124395
Merge pull request #30210 from thaJeztah/carry-29727
...
[carry 29727] update unit-file; wait for network to be online
2017-02-03 17:17:08 -08:00
Alexander Morozov
08567641bb
Merge pull request #30717 from albers/completion-dockerd--default-shm-size
...
Add bash completion for `dockerd --default-shm-size`
2017-02-03 11:27:46 -08:00
Harald Albers
013152972d
Refactor use of shared completion functions
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-03 18:01:32 +01:00
Harald Albers
a45ab91066
Add bash completion for dockerd --default-shm-size
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-03 17:39:32 +01:00
Harald Albers
6f86066d44
Add bash completion for {stack services,service ls} --format
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-03 13:09:46 +01:00
Harald Albers
5d9acc2e61
Add bash completion for {dockerd,docker run} --log-opt max-buffer-size|mode
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-02 17:29:35 +01:00
Alexander Morozov
39f717ac89
Merge pull request #30444 from albers/completion-checkpoints
...
Add bash completion for `docker checkpoint`
2017-02-01 11:44:37 -08:00
Harald Albers
f8456192ab
Improve bash completion for docker plugin enable|disable
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-01 19:18:32 +01:00
Harald Albers
dc83181404
Add bash completion for docker plugin ls --filter
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-01 19:05:06 +01:00
Harald Albers
6d00b6530b
Add bash completion for docker ps --filter expose|publish
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-01 18:44:12 +01:00
Vincent Demeester
27f90acd61
Merge pull request #22563 from mlaventure/cgroup-devices
...
Allow adding rules to cgroup devices.allow on container create/run
2017-02-01 16:29:34 +01:00
Alexander Morozov
1d2f5de49a
Merge pull request #30162 from yongtang/29972-service-read-only
...
Add `--read-only` for `service create` and `service update`
2017-01-31 13:20:00 -08:00
Alexander Morozov
0fbff69ab0
Merge pull request #30603 from tophj-ibm/fix-systemd-dropin-link
...
Update systemd drop-in link
2017-01-31 12:30:16 -08:00
Christopher Jones
7c763b360a
Update systemd drop-in link
...
Right now it redirects, so change it to the correct one.
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2017-01-31 12:31:00 -05:00
Vincent Demeester
b61fe846b1
Merge pull request #30510 from albers/completion-swarm-logs
...
Add bash completion for `docker service logs`
2017-01-31 11:10:48 +01:00
Yong Tang
885e1f250a
Update bash and zsh completion for service create/update --read-only
...
This commit updates bash and zsh completion for flag `--read-only`
in `service create/update`.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-30 13:21:25 -08:00
Tibor Vass
a88e529d28
Merge pull request #30489 from unclejack/bump_go_to_1.7.5
...
Dockerfile*: bump Go to 1.7.5
2017-01-30 10:32:55 -08:00
Harald Albers
105231556a
Add bash completion for docker service logs
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-29 22:29:07 -08:00
Sebastiaan van Stijn
8820d0aec0
Merge pull request #29504 from yongtang/29334-awslogs-CreateLogGroup
...
Support of CreateLogGroup for awslogs
2017-01-29 01:00:03 +01:00
Yong Tang
4930652c67
Update bash and zsh completion for aws-create-group
...
This commit updates bash and zsh completion for aws-create-group.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-27 13:39:26 -08:00
Alexander Morozov
865b3b7652
Merge pull request #27783 from epiloque/add-rpm-armhf-centos-7
...
add rpm builder for ARM CentOS 7
2017-01-27 13:18:20 -08:00
Tianon Gravi
6d1937aa2d
Merge pull request #30519 from jessfraz/shopt
...
Adjust "nuke-graph-directory.sh" shebang to be explicitly Bash (includes a Bashism as of https://github.com/docker/docker/pull/27869 )
2017-01-27 12:26:36 -08:00
Jess Frazelle
026b710879
change sh to bash for shopt
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-01-27 12:16:40 -08:00
Vincent Demeester
fa5e0973ec
Merge pull request #30473 from albers/completion-plugins-format
...
Use native call for listing plugins in bash completion
2017-01-27 18:05:07 +01:00
Sebastiaan van Stijn
e2de212339
Merge pull request #28634 from ghostplant/check_cfg_memsw
...
Checking whether CG_MEM_SWAP is enabled at the moment.
2017-01-27 10:49:32 +01:00
unclejack
b6e2703230
Dockerfile*: bump Go to 1.7.5
...
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-01-27 02:14:36 +02:00
Kenfe-Mickaël Laventure
cd7f3e7f9a
Merge pull request #30438 from albers/completion-windows-specific
...
Add windows specific bash completion for `docker run|create|build`
2017-01-26 14:25:35 -08:00
Tianon Gravi
356dc712a6
Update "download-frozen-image-v2.sh" for schemaVersion 2
...
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2017-01-26 11:08:28 -08:00
Harald Albers
5a067e5255
Use native call for listing plugins in bash completion
...
`docker plugin ls` now has `--format`, so there is no more need for
postprocessing raw `docker plugin ls` output with `awk` any more.
This will make generation of plugin lists robust against changes
in `docker plugin ls` output.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-26 17:33:43 +01:00
Kenfe-Mickael Laventure
1756af6faf
Allow adding rules to cgroup devices.allow on container create/run
...
This introduce a new `--device-cgroup-rule` flag that allow a user to
add one or more entry to the container cgroup device `devices.allow`
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-26 07:20:45 -08:00
Harald Albers
93e43b42be
Rename helper function in bash completion for consistency
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-25 15:55:04 -08:00
Harald Albers
fceaae95b5
Hide bash completion for docker run|create|build --isolation
on non-windows
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-25 15:55:04 -08:00
Kenfe-Mickaël Laventure
db657a558e
Merge pull request #30376 from albers/completion-fix-node-list
...
Fix bash completion for completing nodes
2017-01-25 11:52:13 -08:00
Harald Albers
926fa56c0d
Add bash completion for docker checkpoint
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-25 12:55:56 +01:00
Harald Albers
f2ee29ed96
Add windows specific bash completion for docker run|create
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-25 10:24:27 +01:00
Brian Goff
f07f54951f
Merge pull request #30269 from sdurrheimer/zsh-completion-service-ps-multi
...
Add zsh completion for multiple service for 'docker service ps'
2017-01-24 16:33:30 -05:00
Michael Crosby
b13ecbc7b5
Merge pull request #30283 from albers/completion-run--init-path
...
Add bash completion and docs for `docker run|create --init-path`
2017-01-24 10:06:44 -08:00
Brian Goff
34d0619074
Merge pull request #30268 from sdurrheimer/zsh-completion-plugin-install-alias
...
Add zsh completion for 'docker plugin install --alias'
2017-01-24 10:08:57 -05:00
Brian Goff
aa180e5f31
Merge pull request #30399 from albers/completion-swarm-lock
...
Add bash completion for `docker swarm unlock|unlock-key`
2017-01-24 09:43:07 -05:00
Brian Goff
3bc021cdf3
Merge pull request #30398 from albers/completion-swarm-init
...
Add missing options to bash completion for `docker swarm init|update`
2017-01-24 09:41:30 -05:00
Brian Goff
47da8175be
Merge pull request #30373 from albers/completion-fix-service-update
...
Fix bash completion for `docker service update`
2017-01-24 09:31:53 -05:00
Vincent Demeester
d417dd7886
Merge pull request #30248 from albers/completion-capabilities
...
Improve bash completion for `docker run --cap-{add,drop}`
2017-01-24 12:10:14 +01:00
Vincent Demeester
bb9f7cb280
Merge pull request #30371 from albers/completion-fix-plugin-ls
...
Fix bash completion for `docker plugin ls`
2017-01-24 11:46:13 +01:00
Harald Albers
07bd5152b3
Add bash completion for docker swarm unlock|unlock-key
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-24 10:11:38 +01:00
Harald Albers
f93da79dc1
Add missing options to bash completion for docker swarm init|update
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-24 10:00:18 +01:00
Harald Albers
550947e437
Fix bash completion for completing nodes
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-24 09:24:34 +01:00
Akihiro Suda
929ae4a0b6
Merge pull request #30375 from albers/completion-service-ps--filter-node
...
Add bash completion for `docker service ps --filter node`
2017-01-24 11:49:16 +09:00
Brian Goff
b157b3c648
Merge pull request #30318 from sdurrheimer/zsh-completion-init
...
Add zsh completion for 'dockerd --init' and 'docker {create,run} --init'
2017-01-23 16:28:25 -05:00
Harald Albers
a39a2bb6c2
Add bash completion for docker service ps --filter node
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-23 19:05:00 +01:00
Harald Albers
01ac33ce16
Fix bash completion for docker service update
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-23 18:48:21 +01:00
Harald Albers
72bd2f8fd3
Fix bash completion for docker plugin ls
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-23 18:24:51 +01:00
Anusha Ragunathan
6d6a7fc70c
Add bash completion for newly added options to "docker plugin ls"
...
Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2017-01-20 15:59:44 -08:00
Tibor Vass
7a97705b52
Merge pull request #29959 from cpuguy83/master_fix_selinux_packaging
...
[master] Fix conflicts with newly updated selinux policies
2017-01-20 15:13:18 -08:00
Sebastiaan van Stijn
ae99820357
Merge pull request #30282 from sdurrheimer/zsh-completion-swarm-join-availability
...
Add zsh completion for 'docker swarm --availability'
2017-01-20 17:52:06 +01:00
Sebastiaan van Stijn
156d402133
Merge pull request #30317 from sdurrheimer/zsh-completion-prune-filter
...
Add zsh completion for 'docker {container,image,network,system} prune --filter
2017-01-20 16:25:42 +01:00
Steve Durrheimer
cdf57782fd
Add zsh completion for 'dockerd --init' and 'docker {create,run} --init'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-01-20 16:06:22 +01:00
Steve Durrheimer
784ebccffa
Add zsh completion for 'docker {container,image,network,system} prune --filter'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-01-20 15:49:21 +01:00
Harald Albers
182048f185
Add bash completion for run|create --init-path
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-19 08:33:05 -08:00
Steve Durrheimer
ee2ce82c61
Add zsh completion for 'docker swarm --availability'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-01-19 16:54:36 +01:00
Steve Durrheimer
82e62b15f3
Add zsh completion for multiple service for 'docker service ps'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-01-19 09:04:51 +01:00
Steve Durrheimer
455b7bcbab
Add zsh completion for 'docker plugin install --alias'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-01-19 08:58:44 +01:00
Harald Albers
2076261757
Add bash completion for dockerd --init
and docker run|create --init
...
Fixes #30263
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-19 08:22:14 +01:00
Brian Goff
0e8c7d7277
Merge pull request #30208 from justincormack/no-sqlite
...
Remove sqlite dependency
2017-01-18 13:15:38 -05:00
Harald Albers
36d8b66cb9
Improve bash completion for docker run --cap-{add,drop}
...
Docker has several capabilities enabled by default and some not.
It seems natural to follow this distinction in --cap-add and
--cap-drop.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-18 16:04:46 +01:00
Justin Cormack
f8119bb7a7
Remove sqlite
...
This drops support for migrations from pre-1.10 Docker versions, which
should be done via an external tool or an intermediate upgrade.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-18 12:27:21 +00:00
Mark Milstein
296f8d5abc
add rpm builder for armhf CentOS 7
...
Signed-off-by: Mark Milstein <mark@epiloque.com>
2017-01-17 18:05:38 +00:00
Justin Cormack
7e3a596a63
Block obsolete socket families in the default seccomp profile
...
Linux supports many obsolete address families, which are usually available in
common distro kernels, but they are less likely to be properly audited and
may have security issues
This blocks all socket families in the socket (and socketcall where applicable) syscall
except
- AF_UNIX - Unix domain sockets
- AF_INET - IPv4
- AF_INET6 - IPv6
- AF_NETLINK - Netlink sockets for communicating with the ekrnel
- AF_PACKET - raw sockets, which are only allowed with CAP_NET_RAW
All other socket families are blocked, including Appletalk (native, not
over IP), IPX (remember that!), VSOCK and HVSOCK, which should not generally
be used in containers, etc.
Note that users can of course provide a profile per container or in the daemon
config if they have unusual use cases that require these.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-17 17:50:44 +00:00
Dmitry Kononenko
dfa4e77d82
bugfix issie 18826: containers do not restart after reboot when bound to virtual network interface
...
Signed-off-by: Dmitry Kononenko <d@dm42.ru>
2017-01-17 14:05:54 +01:00
Harald Albers
e91dbba7ff
Add bash completion for build --squash
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-17 08:52:18 +01:00
Harald Albers
217786423c
Add bash completion for container|image|network prune --filter until
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-16 10:47:52 +01:00
Vincent Demeester
fd0ea76931
Merge pull request #30163 from albers/completion-fix-hide-legacy-commands
...
Fix treatment of DOCKER_HIDE_LEGACY_COMMANDS in bash completion
2017-01-16 10:01:44 +01:00