Commit Graph

24905 Commits

Author SHA1 Message Date
bf5e17ead0 bugfix: report "destroy" after all volumes of container destroy
fixes #25766

If a container's AutoRemove is enabled, client will wait until it's
removed after container exits, this is implemented based on "destroy"
event.

Currently an "AutoRemove" container will report "destroy" event to
notify a hanging client to exit before all volumes are removed, this is
wrong, we should wait container until everything is cleaned up.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
Upstream-commit: 4df77c11e065bf96b04fc0328a7e7600a2e64937
Component: engine
2016-08-17 11:02:16 +08:00
a3a8b4ee81 Merge pull request #25143 from cpuguy83/update_go-check
Add stack dumps from the daemon(s) on test timeout
Upstream-commit: 3c6f4cd5a6c0de3d3700ad14bb8f177e8e1198fd
Component: engine
2016-08-15 22:09:20 -07:00
ca823e9707 Merge pull request #25597 from vieux/check_plugin_manifest_json
check plugin manifest is correctly formatted before push
Upstream-commit: f5ef498289a2f2dd80724afbe5a53892690ced53
Component: engine
2016-08-15 19:27:50 -07:00
499e132407 check plugin manifest is correctly formatted before push
Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: b47711ae92619f04e070b284f47e203c79640d9e
Component: engine
2016-08-15 17:51:30 -07:00
835c0328ea Merge pull request #25723 from anusha-ragunathan/plugin-force-rm
When handling plugin exit, lookup plugins only during daemon shutdown.
Upstream-commit: 70f843f7ae5a302453f5d64087f366053b1d4e27
Component: engine
2016-08-15 16:30:37 -07:00
9817f32c22 Merge pull request #25676 from tiborvass/fix-rpm-release-script
release-rpm: fix bad destination paths for rpms
Upstream-commit: c67cc60713245f101240279a1ff539f96d8942ca
Component: engine
2016-08-15 16:23:25 -07:00
be73319004 When handling plugin exit, lookup plugins only during daemon shutdown.
The main intent of handling plugin exit is for graceful shutdown
of plugins during daemon shutdown. So avoid plugin lookup during
plugin exits caused by other reasons (eg. force remove)

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
Upstream-commit: 57499fa62e697ea244455c5abda7ed8bc022f44c
Component: engine
2016-08-15 14:46:02 -07:00
07a4c41b9a Merge pull request #25482 from yuexiao-wang/close_pipe
Close pipe after using pipe
Upstream-commit: 90be7a591de1f30332827a003edc39065fb8e4a7
Component: engine
2016-08-15 13:02:59 -07:00
fe5ecb2397 Merge pull request #25706 from thaJeztah/add-authorization-header-to-api-docs
Add X-Registry-Auth header to service API docs
Upstream-commit: 9079d5ccbb040363a89c87d87eac693575848c80
Component: engine
2016-08-15 21:54:06 +02:00
bc8ce674ae Merge pull request #25715 from thaJeztah/update-changelog-for-userland-proxy-binary
Add note about new binaries to changelog
Upstream-commit: a5809ddd2a7bce47da937401829713448329ffbf
Component: engine
2016-08-15 21:48:21 +02:00
fba4d062dd Merge pull request #25707 from thaJeztah/move-sysctls-to-correct-api-version
Move sysctls to correct API version
Upstream-commit: 4105cff4d8d5bb55661944286ceee03f9c5c36ee
Component: engine
2016-08-15 20:29:51 +02:00
d3c1040e86 Merge pull request #25710 from thaJeztah/restore-missing-ps-example
Restore missing ps example for killed containers
Upstream-commit: 0f838cc5230c12f073095bf537ec896e95d1f631
Component: engine
2016-08-15 16:02:16 +02:00
fc75fb9bbd Merge pull request #25700 from lixiaobing10051267/masterSwarmRmService
command "docker service remove" not consistent
Upstream-commit: bfc3f121f10f0dd17833ee1f2d8ccd8b7dcafa5f
Component: engine
2016-08-15 09:55:52 -04:00
a4290a9192 Add note about new binaries to changelog
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 32b8a6e735ef674e1ea2415915e41531bcd4a9c8
Component: engine
2016-08-15 15:23:14 +02:00
bb8ea42967 Fix capitalization
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 75e60fbe09f6065ed095671f98713d862c466858
Component: engine
2016-08-15 14:14:41 +02:00
0e20dbce72 Restore missing ps example for killed containers
This example was added in b0b2f979c7c43e2975d5e39340c168da2da42d1d,
but got lost during splitting up the cli.md docs into separate files;
561bfb268de3c674b04d48895b7e46ae890ef795

This restores the missing example.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 8d5818a6931db9d0acd4a6663815cd317da1bb6b
Component: engine
2016-08-15 13:41:18 +02:00
6cf3b48c91 Move sysctls to correct API version
Commit 067b510dfc5b90a1d7712c89e857b6dafb184f24 move the
sysctls feature to the right API version, but
missed this one.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 7cdd693d5d2094f73383145eb74d81c6b9bb9b24
Component: engine
2016-08-15 12:02:54 +02:00
83afa41419 Add X-Registry-Auth header to service API docs
The service create/update endpoints support
passing registry-authentication information,
but this was not documented.

This adds the missing information about passing
a X-Registry-Auth header.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: bde35ef18a408a297b960c439dc029cfb5e15464
Component: engine
2016-08-15 11:53:12 +02:00
9716ade879 command "docker service remove" not insistant
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: 078e2aa1571ad402f0a9599e6fac2286a3d35f54
Component: engine
2016-08-15 15:11:37 +08:00
b690241f76 Merge pull request #25675 from DieterReuter/master
Fix build deb for ARMv6
Upstream-commit: 5ac0342e8282783531b61140b09268ff0d03f37e
Component: engine
2016-08-13 10:16:29 -07:00
b19d897878 Merge pull request #25678 from tonistiigi/clear-wal
Clear raft state file after every test
Upstream-commit: 856fa571d00a9d3fb9a08f579c5e3763f19753ea
Component: engine
2016-08-13 17:44:56 +02:00
a38eb5f864 Merge pull request #25677 from friism/tweak-logout-message
tweak logout message
Upstream-commit: 28c20592b62c9483e787f58ea6aca65420169512
Component: engine
2016-08-13 09:37:56 +02:00
64adc1d87d Merge pull request #25673 from SvenDowideit/remove-dead-link
James' site has been dead for a while - removing links
Upstream-commit: 7fddf51aa4e71ca7b0a08df2a960d8b220703f0e
Component: engine
2016-08-13 09:35:04 +02:00
9a71475504 Clear raft state file after every test
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: 34f779dbc34fc391a86398521ad5c7ec84a0382d
Component: engine
2016-08-12 17:30:37 -07:00
1f63571025 tweak logout message
Signed-off-by: Michael Friis <friism@gmail.com>
Upstream-commit: f9443aa2a529553ad0c3227c00980b0e83d457ad
Component: engine
2016-08-12 17:00:06 -07:00
a8ef6a6a87 release-rpm: fix bad destination paths for rpms
Signed-off-by: Tibor Vass <tibor@docker.com>
Upstream-commit: e1c7ad871f6fd41a7682cf7effb02838ab679ae3
Component: engine
2016-08-12 16:51:12 -07:00
b496a6d286 Merge pull request #24311 from ShevYan/incorrect-comments-in-dockerfile
Dockerfile's comments for "Run the test suite" are out of date becaus…
Upstream-commit: 2faeebc7504acd257200ce26470d3037448ae952
Component: engine
2016-08-12 15:53:06 -07:00
6b981f5f41 Fix build deb for ARMv6
Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
Upstream-commit: 5907e4a872c7d586ab594972fa24bf4fa4e83207
Component: engine
2016-08-13 00:40:29 +02:00
c5ce25f56a Merge pull request #23116 from glensc/mkimage-pld
add script to make base image for PLD Linux
Upstream-commit: 05d1dcfca25d534294cb42ffcdd7bedaeaa06ee7
Component: engine
2016-08-12 15:38:36 -07:00
299e83ea78 Merge pull request #25420 from sfsmithcha/add_networking_guide
per @mavenugo , merging after addressing comments
add overlay networking guide
Upstream-commit: 84ef31a79cad9c4ed55ff57048394f01d7c43301
Component: engine
2016-08-12 15:29:34 -07:00
a863701de5 add overlay networking guide
Signed-off-by: Charles Smith <charles.smith@docker.com>
Upstream-commit: e56dd0e0e7d2eb921390c7aaff091b8b613c4c6b
Component: engine
2016-08-12 15:18:21 -07:00
506f438662 Merge pull request #25216 from aanand/deploy-error-when-not-in-swarm-mode
Better error on 'docker deploy' when not in Swarm mode
Upstream-commit: 2a10899c16416ce4802c11ed14db80f803595b24
Component: engine
2016-08-12 14:17:47 -07:00
0fd4a2c993 James' site has been dead for a while - removing links
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Upstream-commit: a9b08f3102e946df44337deb65c99b41570754d1
Component: engine
2016-08-12 21:16:57 +00:00
44701ad93a add overlay networking security model node
Signed-off-by: Charles Smith <charles.smith@docker.com>
Upstream-commit: cc5debcb2e8621358721eb860c07f33f8b83d684
Component: engine
2016-08-12 13:17:24 -07:00
51e7a5bb32 Merge pull request #25669 from dlech/patch-2
Move export from image commands to container commands
Upstream-commit: 838db8852cb58e4990c655f09d5b7c50cc5396a6
Component: engine
2016-08-12 15:52:07 -04:00
05ad7877f1 Merge pull request #24814 from samuelkarp/awslogs
awslogs: Record log line insert order for sorting
Upstream-commit: c6e3818dd11a19b8385e62ed244c0c4e4e75fc89
Component: engine
2016-08-12 15:51:06 -04:00
0cdcb92bda Merge pull request #22208 from msabansal/staticip
Enabling specifying static ip for predefined network on windows
Upstream-commit: 5632768a0f5237ca63275a193266389b7cabcb3b
Component: engine
2016-08-12 11:39:25 -07:00
cde4831d1f Merge pull request #24717 from icaoweiwei/patch_2016-07-16_1
Add output of integer argument
Upstream-commit: 2c50035f93ec580fb1b901a2c99a2f95f525a796
Component: engine
2016-08-12 10:54:01 -07:00
3d962f1295 Merge pull request #25657 from thaJeztah/update-image-load-api-docs
Update API docs example for image load response
Upstream-commit: 5dbdc321dc52dff8424cd569438308b53ebca103
Component: engine
2016-08-12 10:29:01 -07:00
c6f3cd200c Merge pull request #25070 from yongtang/24881-label-containers-with-stack-name
Label containers with stack name when deploying stack/bundle
Upstream-commit: a86b2376a075b5459b202615667faa6b2980788d
Component: engine
2016-08-12 10:20:06 -07:00
b6f32f3c93 Move export from image commands to container commands
The export command operates on containers, not images, so it should be listed under the container commands, not the image commands.

Signed-off-by: David Lechner <david@lechnology.com>
Upstream-commit: 43c8cc7bb4dd42bebabf68e509a3596ef7a642cd
Component: engine
2016-08-12 12:15:32 -05:00
894d8b6245 Merge pull request #25668 from LK4D4/remove_rewrite
hack/vendor.sh: remove old hacks for etcd
Upstream-commit: f4646196b6694cd4662a366906377c2fd5c73fde
Component: engine
2016-08-12 10:12:50 -07:00
e8a6674a00 Merge pull request #25635 from dperny/rate-limit-swarm-pull-log
Rate limit logspam during docker service pulls
Upstream-commit: b0431d63dca1573d66624dd67230bf0d9c8ef623
Component: engine
2016-08-12 13:06:39 -04:00
b6188d5df3 Merge pull request #25660 from justincormack/no-fuse-dev
Do not create /dev/fuse by default
Upstream-commit: b08a1c3fe48472d7b688429e10695eb9132d2577
Component: engine
2016-08-12 10:05:16 -07:00
c49627f859 Merge pull request #25628 from cpuguy83/carry_21567_filter_vol_by_label
Carry 21567 filter vol by label
Upstream-commit: be045ee2da7c2c83e859d86cb496e86ec6de8566
Component: engine
2016-08-12 09:43:45 -07:00
1dbc55e6ff Merge pull request #25509 from Microsoft/jjh/23079
Windows: Block ReFS file systems
Upstream-commit: 34cc19f6702c23b2ae4aad2b169ca64154404f9f
Component: engine
2016-08-12 09:32:22 -07:00
6b6387c135 hack/vendor.sh: remove old hacks for etcd
etcd uses standard vendoring now

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: 6623a5342c7b982ebc630974490eac06792d0605
Component: engine
2016-08-12 08:50:52 -07:00
8e29f88e6f Merge pull request #25568 from thaJeztah/enhance-string-truncate
Implement stringutils.Ellipsis()
Upstream-commit: 64f83cee43c6fc0785e2beeacc6432572130714b
Component: engine
2016-08-12 17:19:50 +02:00
e6beba2d43 Do not create /dev/fuse by default
This device is not required by the OCI spec.

The rationale for this was linked to docker/docker#2393

So a non functional /dev/fuse was created, and actual fuse use still is
required to add the device explicitly. However even old versions of the JVM
on Ubuntu 12.04 no longer require the fuse package, and this is all not
needed.

See also https://github.com/opencontainers/runc/pull/983 although this
change alone stops the fuse device being created.

Tested and does not change actual ability to use fuse.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Upstream-commit: 39ecc08f327451e4fc30f15a6fb3bd4c979acc73
Component: engine
2016-08-12 12:33:42 +01:00
f039ea6e5b Update API docs example for image load response
Commit 353af0b3ecfe483568fd88754e432c92b0ec088b updated
the `/image/load` endpoint to consistendly return
JSON, but did not update the associated documentation.

This updates the example response in the documentation
to match the actual response.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 419d2ad0f8adc687bb25831d62f462353557a706
Component: engine
2016-08-12 11:57:34 +02:00