Commit Graph
22611 Commits
Author SHA1 Message Date
Antonio Murdaca be619004aa integration-cli: use Devicemapper test requirement instead of checking strings
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream-commit: 337ee2aa63d54392321e2603c0f4e4f2f711dbc5
Component: engine
2016-02-17 18:18:18 +01:00
Aleksa Sarai 3288368680 vendor: update runc/libcontainer
This includes all of v0.0.8 as well as a few bug fixes that popped up
during vendoring.

Signed-off-by: Aleksa Sarai <asarai@suse.com>
Upstream-commit: 093dd39686d5e7c562dfdf337bc7545f51d5abf4
Component: engine
2016-02-18 01:42:36 +11:00
Brian Goff 1653c5add2 Merge pull request #20396 from cyphar/remove-fsnotify
remove fsnotify
Upstream-commit: 7eed9a642ee584dff2faae0a4dc1e4ba04f3c3be
Component: engine
2016-02-17 09:41:31 -05:00
Aleksa Sarai eaaadc99cd vendor: remove fsnotify
It is not longer used by us, so hack/vendor.sh complains because it
removes unused files (but also complains about removing an entire
vendored project).

Signed-off-by: Aleksa Sarai <asarai@suse.com>
Upstream-commit: bc195e1558d3091dccb209f1bb35115248886c7a
Component: engine
2016-02-18 00:12:53 +11:00
Aleksa Sarai 54e25a7e3f pkg: remove unused filenotify
pkg/filenotify isn't used anymore and it causes problems with
hack/vendor.sh (nothing uses it, so hack/vendor.sh will remove the
vendored code).

Signed-off-by: Aleksa Sarai <asarai@suse.com>
Upstream-commit: ee99b5f2e96aafa982487aadbb78478898ae0c71
Component: engine
2016-02-18 00:11:43 +11:00
Kai Qiang Wu(Kennan) 880238a939 Make volume ls output order
Fixes: #20384
Add order support for volume ls to make it easy
to external users to consume.

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
Upstream-commit: 60ffd6c880024c5ab3ad96dc79b01dccd23dd766
Component: engine
2016-02-17 09:01:27 +00:00
Vincent Demeester 1d8e52b52f Merge pull request #20385 from WeiZhang555/fix-docs
Fix docs
Upstream-commit: 2a9e6ace706999be3c0d36f1f94ce20cc3ad33b5
Component: engine
2016-02-17 08:55:02 +01:00
Phil Estes 83d138a180 Merge pull request #20366 from LK4D4/socks_proxy
Add support for forwarding Docker client through SOCKS proxy
Upstream-commit: 5c78515430860ad822e016cc5cd5d5ff3dd6a21c
Component: engine
2016-02-16 22:29:49 -08:00
Kai Qiang Wu(Kennan) f8aea9f057 Make network ls output order
Fixes: #20328
We sort network ls output with incresing order,
it may make output more easy to consume for users.

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
Upstream-commit: 838ed1866bf285759efdc01a97ae837f0f1c326a
Component: engine
2016-02-17 04:35:36 +00:00
Zhang Wei 34db004d4d Fix docs
Fix wrong descriptions in docs

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
Upstream-commit: 899335022f08710996b43077c736421e06c583e9
Component: engine
2016-02-17 11:55:56 +08:00
Arnaud Porterie 8d8b651d78 Merge pull request #20379 from crosbymichael/exec-test
Require linux for TestExecAfterContainerRestart
Upstream-commit: bebad9e5c1f91bfbeea5a38211968e2f12ea1e43
Component: engine
2016-02-16 19:26:13 -08:00
Tibor Vass 9111f0c18a Fix index generator for apt/yum packages
Some @_@ characters could become visible if filename is longer than 44
characters.

Signed-off-by: Tibor Vass <tibor@docker.com>
Upstream-commit: 7acd3987d3d55e950ada47b41bb89ccb12b539cb
Component: engine
2016-02-16 21:54:07 -05:00
Brian Goff 5b28f437b0 Fix issue with multiple volume refs with same name
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 0fe31306d1c1c93c4ef33654f7a37932296cf8a6
Component: engine
2016-02-16 21:46:13 -05:00
HuKeping c165bf9e34 Bugfix: the actions when pull from notary should not contains push
Signed-off-by: Hu Keping <hukeping@huawei.com>
Upstream-commit: 6b8a2a0fe47b218aaba3050c1f376941e4773313
Component: engine
2016-02-17 10:36:09 +08:00
Michael Crosby 8107240b18 Require linux for TestExecAfterContainerRestart
All the other exec tests require linux except this one and it is
causing failures in the TP4 test runs.

ref:
https://jenkins.dockerproject.org/job/Docker-PRs-WoW-TP4/1076/console

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 46e41dc2f86e27ef502c2b1a679ab95d0426c8c3
Component: engine
2016-02-16 17:50:50 -08:00
Alexander Morozov e9b00fc7ff Merge pull request #20374 from icecrime/20357_test_logs_since_future_follow
Fix flaky TestLogsSinceFutureFollow
Upstream-commit: eae59c4226bb94027ed0e51c1899479c44a4cc97
Component: engine
2016-02-16 15:23:19 -08:00
David Calavera 5aea778205 Merge pull request #19689 from cednation/etwlogs
Windows: Add ETW logging driver plug-in
Upstream-commit: c795d0bab9057fbf16ca70349bcc37e244be33b9
Component: engine
2016-02-16 15:01:17 -08:00
Sebastiaan van Stijn 61b6c6f1c0 Merge pull request #20373 from bastiaanb/fix/docs-trailing-slash-in-dockerfile-copy-example
add missing trailing slash in ADD and COPY /absoluteDir examples.
Upstream-commit: c66d9f56279237bc0ff9d8fb84896de4193247f8
Component: engine
2016-02-16 23:10:47 +01:00
Alexander Morozov 90b76dddc5 Merge pull request #20367 from tonistiigi/fix-import-gzip
Fix docker import on compressed data
Upstream-commit: 0f5624d37433cd93eb6a19f8d8e513ad399d6d47
Component: engine
2016-02-16 14:09:46 -08:00
Alexander Morozov f663556077 Merge pull request #19498 from mountkin/refactor-jsonfilelog-reader
use pubsub instead of filenotify to follow json logs
Upstream-commit: 8545fdc6ddd7010a4134062cf99444e586c3c99e
Component: engine
2016-02-16 13:55:48 -08:00
Bastiaan Bakker 6396772da2 add missing trailing slash in ADD and COPY /absoluteDir examples. According to the specs they are mandatory.
Signed-off-by: Bastiaan Bakker <bbakker@xebia.com>
Upstream-commit: f982f08c5097e25b901152289faf960d557c130e
Component: engine
2016-02-16 22:52:16 +01:00
Arnaud Porterie f97a378357 Fix flaky TestLogsSinceFutureFollow
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Upstream-commit: 4928121992cbf3f40ec86909526534d90eb6482e
Component: engine
2016-02-16 13:49:44 -08:00
Cedric Davies 442a84b35d Windows: Add ETW logging driver plug-in
Signed-off-by: Cedric Davies <cedricda@microsoft.com>
Upstream-commit: 3fe60bbf95b60f1a1e847a48e1c9b9730e570dff
Component: engine
2016-02-16 13:24:49 -08:00
David Calavera ddc0af4e6a Merge pull request #19986 from vishh/expose-root-dir
Expose docker's root directory by default as part of `docker info`.
Upstream-commit: 80187df25708782db20846e63aef7ddb0419c7cf
Component: engine
2016-02-16 12:57:57 -08:00
Jess Frazelle e258749926 Merge pull request #20353 from rhatdan/selinux
Only relabel /var/lib/docker on initial install
Upstream-commit: d445eb480899db81ff07c1936ae5762cc71d8b77
Component: engine
2016-02-16 12:15:20 -08:00
Tonis Tiigi aeadcc4f36 Fix migration diffid atomic write
Fixes #20267

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: 056013f97b504979c1fe3fa36aff1ef66d42ad42
Component: engine
2016-02-16 11:51:35 -08:00
Tonis Tiigi 8b2acafeee Fix docker import on compressed data
Fixes #20296

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: e1c2eb0d35460c2de9cbf4a70439afa63b9d2be1
Component: engine
2016-02-16 11:19:23 -08:00
David Calavera ab0cee0d5e Remove all docker debugging knowledge from the server.
It should be explicitly told whether to enable the profiler or not.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: e8f569b3246b3ce4e765b0aafe53b6d70d12a2d6
Component: engine
2016-02-16 14:11:16 -05:00
Alexander Morozov 4f226110ac Add support for forwarding Docker client through SOCKS proxy
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: 05002c2501ac549b3cf677ab04d0f571cc456360
Component: engine
2016-02-16 11:09:28 -08:00
Vishnu kannan 9315309e4c Expose docker's root directory by default as part of docker info.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
Upstream-commit: 6a3176d4fee3e747ecb6b2d27ab2eb68471f3f8f
Component: engine
2016-02-16 10:40:15 -08:00
Jess Frazelle ceb4675b07 Merge pull request #20305 from cyphar/fix-apparmor-version-checks
Fix apparmor version checks
Upstream-commit: 15d7fa77e1145d52bd9ed5cfe934c1924a9994b2
Component: engine
2016-02-16 10:11:08 -08:00
Alexander Morozov c645116653 Vendor new engine-api and go-connections
There is SOCKS5 proxy support in new versions.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: 16effc66c028a7800096ed92174ca4bceba229ad
Component: engine
2016-02-16 10:05:01 -08:00
David Calavera ec1f2453b9 Merge pull request #20308 from mountkin/fix-20069
request a new token before downloading each layer
Upstream-commit: 556b1369de0a776918cb38a0177d219888005705
Component: engine
2016-02-16 09:55:23 -08:00
Dan Walsh d67c9f367d Only relabel /var/lib/docker on initial install
Signed-off-by: Dan Walsh <dwalsh@redhat.com>
Upstream-commit: 443ada574da41f20cdd3708e2dee3091dd363afb
Component: engine
2016-02-16 08:27:59 -05:00
Sebastiaan van Stijn 8924708417 Merge pull request #20352 from glensc/x-bit
add execute bit to contrib/report-issue.sh
Upstream-commit: 48d4e2d953fbf5bbdc46cfdb1405ec7c099d016d
Component: engine
2016-02-16 12:52:30 +01:00
Elan Ruusamäe 1bdbb18160 add execute bit to contrib/report-issue.sh
Signed-off-by: Elan Ruusamäe <glen@delfi.ee>
Upstream-commit: 5b62b71093283e6e7903870cc4bd4293d45e9630
Component: engine
2016-02-16 12:55:15 +02:00
Sebastiaan van Stijn af98dabc0f Merge pull request #20341 from MichaelCurrie/patch-1
Fix typo
Upstream-commit: 3004c618650c44a5832e24ee1cf8508fbeb48950
Component: engine
2016-02-16 11:16:29 +01:00
Sebastiaan van Stijn a33dcba64f Merge pull request #20343 from HackToday/fixpara
Fix the typo
Upstream-commit: 957bdd9df901ea3de9f7fdf28b0bdc74a040fadd
Component: engine
2016-02-16 11:14:57 +01:00
Kai Qiang Wu(Kennan) 8271be384a Fix the typo
Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
Upstream-commit: c33cdf9ee3ece0358f828c7ac8f6367c3414e67a
Component: engine
2016-02-16 07:00:01 +00:00
Michael Currie ace5855003 Fix typo
Signed-off-by: MichaelCurrie <mcurrie@bruceforceresearch.com>
Upstream-commit: 765880a46a560552bb5a1b5d600199a064d7cee8
Component: engine
2016-02-16 02:51:40 +00:00
Vincent Demeester cd2904b0ae Merge pull request #20336 from robert-wallis/docs-run-typo
Fixing mismatched network name.
Upstream-commit: b16536aeb519e8d449a8231606b49520a160e44a
Component: engine
2016-02-15 22:32:31 +01:00
Robert Wallis 1edac85cca Fixing mismatched network name.
Using `my-net` to be consistent with:
https://docs.docker.com/engine/reference/run/

Signed-off-by: Robert Wallis <smilingrob@gmail.com>
Upstream-commit: 8779a4ca62db8b64c5016be20456d5b2e5a407e9
Component: engine
2016-02-15 13:17:05 -08:00
Dan Walsh dad375d1d2 /dev/mqueue should never be mounted readonly
If user specifies --read-only flag it should not effect /dev/mqueue.
This is causing SELinux issues in docker-1.10.  --read-only blows up
on SELinux enabled machines.  Mounting /dev/mqueue read/only would also
blow up any tool that was going to use /dev/mqueue.

Signed-off-by: Dan Walsh <dwalsh@redhat.com>
Upstream-commit: adb2e3fedc76fbaecce0d75a29aa0d419be5c4c2
Component: engine
2016-02-15 14:56:07 -05:00
Vincent Demeester 77c02ce91f Merge pull request #20330 from thaJeztah/docs-typos
Fix documentation typos
Upstream-commit: e5a79c5d996f3b5f55ef3b52cdce0fb80463cae8
Component: engine
2016-02-15 16:58:49 +01:00
Sebastiaan van Stijn e1a8ad7624 Fix documentation typos
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 7da5784b10a9f085af98984e6e69e733e55ddbf5
Component: engine
2016-02-15 15:46:56 +01:00
Shijiang Wei 97fcfe9c7e optimize pubsub.Publish function
Signed-off-by: Shijiang Wei <mountkin@gmail.com>
Upstream-commit: 1e0f1ec52543bc83099fb91cd34dca4d38100e6f
Component: engine
2016-02-15 19:25:21 +08:00
Shijiang Wei 6ebcbbfdd8 use pubsub instead of filenotify to follow json logs
inotify event is trigged immediately there's data written to disk.
But at the time that the inotify event is received, the json line might
not fully saved to disk. If the json decoder tries to decode in such
case, an io.UnexpectedEOF will be trigged.
We used to retry for several times to mitigate the io.UnexpectedEOF error.
But there are still flaky tests caused by the partial log entries.

The daemon knows exactly when there are new log entries emitted. We can
use the pubsub package to notify all the log readers instead of inotify.

Signed-off-by: Shijiang Wei <mountkin@gmail.com>

try to fix broken test. will squash once tests pass

Signed-off-by: Shijiang Wei <mountkin@gmail.com>
Upstream-commit: b1594c59f5e0d1ac898eacde8d91b1ba33c2b626
Component: engine
2016-02-15 19:25:16 +08:00
Aleksa Sarai d9e3cdab8a apparmor: use correct version for ptrace denial suppression
Ubuntu ships apparmor_parser 2.9 erroniously as "2.8.95". Fix the
incorrect version check for >=2.8, when in fact 2.8 deosn't support the
required feature.

Signed-off-by: Aleksa Sarai <asarai@suse.com>
Upstream-commit: 284d9d451e93baff311b501018cae2097f76b134
Component: engine
2016-02-15 20:36:29 +11:00
Aleksa Sarai 08e0c58b53 apparmor: fix version checks to work properly
Using {{if major}}{{if minor}} doesn't work as expected when the major
version changes. In addition, this didn't support patch levels (which is
necessary in some cases when distributions ship apparmor weirdly).

Signed-off-by: Aleksa Sarai <asarai@suse.com>
Upstream-commit: 4bf7a84c969b9309b0534a61af55b8bb824acc0a
Component: engine
2016-02-15 20:36:07 +11:00
Vincent Demeester 58fe6cdb8d Merge pull request #20257 from Microsoft/10662-TestBuildCI6
Sixth set of TestBuild CI Enabling for Windows
Upstream-commit: 46a61b72402e0c8766efce1b66036af15cbb6f99
Component: engine
2016-02-14 10:35:27 +01:00