Kenfe-Mickaël Laventure
4d03073a2c
Merge pull request #34811 from yongtang/runc
...
Update runc to 0351df1c5a66838d0c392b4ac4cf9450de844e2d
Upstream-commit: 502eddb9859dcd30ce46732b24cefe49cf1ccbd1
Component: engine
2017-09-27 08:44:43 -07:00
Sebastiaan van Stijn
d14643fb47
Merge pull request #34792 from runcom/fix-relabel-symlinks
...
volume: evaluate symlinks before relabeling mount source
Upstream-commit: f60e7aac62a14907132aa5c3bc9d5cf5ca0e6ebc
Component: engine
2017-09-27 17:42:23 +02:00
Sebastiaan van Stijn
240408899b
Merge pull request #34928 from darrenstahlmsft/HnsRunning
...
Ensure Host Network Service exists
Upstream-commit: 6af60b3c6180817e06ce87d562643b442a866502
Component: engine
2017-09-27 17:35:08 +02:00
Vincent Demeester
4262667057
Merge pull request #34985 from thaJeztah/remove-use-of-deprecated-filter-functions
...
Remove use of deprecated filter functions
Upstream-commit: a343cba40c25deb2893e13f9a81dbcc4d19d16e2
Component: engine
2017-09-27 17:34:07 +02:00
Sebastiaan van Stijn
7ed1303eb4
Merge pull request #34881 from ityangchen/test-moby
...
"docker swarm init --force-new-cluster" use limit
Upstream-commit: 0b968f91958eea12c2fa82cec64790cb03367232
Component: engine
2017-09-27 14:11:46 +02:00
Danyal Khaliq
82a0e7daf9
Increase Coverage of pkg/idtools
...
Signed-off-by: Danyal Khaliq <danyal.khaliq@tenpearls.com >
Upstream-commit: 00c0ee885c671942f9bc751c80cbc45b7f6404f3
Component: engine
2017-09-27 12:55:04 +05:00
Vincent Demeester
689b8ff233
Merge pull request #562 from dnephin/update-gometalinter
...
Update gometalinter
Upstream-commit: feb4d79935
Component: cli
2017-09-27 09:42:37 +02:00
Riyaz Faizullabhoy
bb1eca37a9
trust: remove extraneous OPTIONS from commands that do not use it
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
Upstream-commit: 9ad0e8f223
Component: cli
2017-09-26 16:15:45 -07:00
Pradip Dhara
e4f32567d3
Updating moby to correspond to naming convention used in https://github.com/docker/swarmkit/pull/2385
...
Signed-off-by: Pradip Dhara <pradipd@microsoft.com >
Upstream-commit: d00a07b1e6d46c3cc9ef95e8b6227115830e2701
Component: engine
2017-09-26 22:08:10 +00:00
Pradip Dhara
fa385958f4
vndr swarmkit 941a01844b89c56aa61086fecb167ab3af1de22b
...
Signed-off-by: Pradip Dhara <pradipd@microsoft.com >
Upstream-commit: 8e15b1cffb95d1e82943a628353c6df7cd54f6c4
Component: engine
2017-09-26 22:08:10 +00:00
Sebastiaan van Stijn
23c421f3c5
Merge pull request #557 from allencloud/add-more-event-filter-type
...
Add more event filters in doc: config, node, secret and service
Upstream-commit: 62d62ff513
Component: cli
2017-09-26 22:48:22 +02:00
Sebastiaan van Stijn
de74f6b50c
Merge pull request #34952 from allencloud/add-specific-event-filter
...
add node/service/secret/config specific event filter
Upstream-commit: afe31900915782daf67b40d405d8e7b8e01ab2dd
Component: engine
2017-09-26 22:46:41 +02:00
Andrew Hsu
f99bd6dc82
Merge component 'engine' from git@github.com:moby/moby master
2017-09-26 12:50:25 -07:00
Daniel Nephin
dead314452
Refactor image commands to make use of the new trust struct for trusted pull
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 4203b49431
Component: cli
2017-09-26 15:15:42 -04:00
Victor Vieux
8a5301f81b
Merge pull request #34911 from dnephin/new-ci-entrypoint
...
Add a new entrypoint for CI
Upstream-commit: a971f9c9d7d1bdc69b197a82c3fb010681f5cd1f
Component: engine
2017-09-26 11:50:44 -07:00
Andrew Hsu
1a654751d3
Merge component 'cli' from git@github.com:docker/cli master
2017-09-26 10:56:04 -07:00
Tõnis Tiigi
7fd47ecc0d
Merge pull request #34961 from fcrisciani/libnetwork-vendoring
...
Vendoring libnetwork
Upstream-commit: 37eb796ccb6de7def92f0ab3f18c686ae92ef29f
Component: engine
2017-09-26 10:50:32 -07:00
Sebastiaan van Stijn
09b100cab2
Merge pull request #34973 from darrenstahlmsft/fixError
...
Fix error string about containers feature
Upstream-commit: 9feef9287474d0e9afe489d9ad0b71a986a012cb
Component: engine
2017-09-26 18:44:12 +02:00
Sebastiaan van Stijn
6424aeb9fa
Merge pull request #34918 from thaJeztah/update-copy-add-error
...
Improve error message for COPY missing destination
Upstream-commit: 76b5ab6f43aeffe4261e2b1f848476d36d332880
Component: engine
2017-09-26 18:43:36 +02:00
Sebastiaan van Stijn
57c6d20473
Merge pull request #34358 from ripcurld0/fix_link_problem
...
Add an integration test for bug #31392 regression
Upstream-commit: 584ed9603b4cb79160d0dd8689cdbbdedb9fe00f
Component: engine
2017-09-26 18:41:08 +02:00
Daniel Nephin
f321e1ed9d
Update gometalinter
...
The update includes bug fixes in gometalinter and updates to linters, which
discovered more linter problems.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: d956386b2d
Component: cli
2017-09-26 12:33:35 -04:00
Allen Sun
2a54e5d16e
add node/service/secret/config specific event filter
...
Signed-off-by: Allen Sun <shlallen1990@gmail.com >
Upstream-commit: 4611ecd3cdc9b2738f58a136b79f752add223f3f
Component: engine
2017-09-27 00:23:51 +08:00
Sebastiaan van Stijn
e3c3856028
Merge pull request #34908 from thaJeztah/bump-api-version-1.33
...
Bump API version to 1.33
Upstream-commit: 74a084162ce544fe995715ba47aa84d3d75b95c1
Component: engine
2017-09-26 18:09:50 +02:00
Allen Sun
86f10d67d5
add more event filters in doc: config, node, secret and service
...
Signed-off-by: Allen Sun <shlallen1990@gmail.com >
Upstream-commit: fc98f8757a
Component: cli
2017-09-27 00:04:56 +08:00
Sebastiaan van Stijn
399de7ee20
Merge pull request #551 from dnephin/set-local-constant
...
Use a local constant
Upstream-commit: 0856c20e04
Component: cli
2017-09-26 17:42:50 +02:00
Daniel Nephin
7125e1b239
Support parsing of named pipes for compose volumes.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 9f73b8c718
Component: cli
2017-09-26 11:24:23 -04:00
Sebastiaan van Stijn
57dd97eab1
Merge pull request #555 from joaofnfernandes/docs/advertise-addr
...
Add note about joining through a load balancer
Upstream-commit: b77f3fd5ac
Component: cli
2017-09-26 17:15:42 +02:00
Sebastiaan van Stijn
9e59512fe4
Merge pull request #451 from tych0/use-pass-backend
...
Use pass backend
Upstream-commit: be8dab26a3
Component: cli
2017-09-26 16:40:32 +02:00
Tycho Andersen
1fe51e0bb7
document the pass backend and default behavior
...
Also add a big warning about cleartext passwords.
Signed-off-by: Tycho Andersen <tycho@docker.com >
Upstream-commit: a2f116733b
Component: cli
2017-09-26 08:31:02 -06:00
Sebastiaan van Stijn
5dbfedf3f9
Replace uses of filters.ToParam(), FromParam() with filters.ToJSON(), FromJSON()
...
`filters.ToParam()` and `filters.FromParam()` were deprecated in favor of
`filters.ToJSON()` and `filters.FromJSON()` in 065118390a3ecaf0dbd2fa752d54d43f8f1e8ec6,
but still used in various locations.
This patch replaces uses of `filters.ToParam()` and `filters.FromParam()` with
`filters.ToJSON()` and `filters.FromJSON()`.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: a4efe66cf2a7648dbcf5b9993bf351925b905b5b
Component: engine
2017-09-26 13:59:45 +02:00
Sebastiaan van Stijn
c4c68bf819
Replace uses of filters.Include() with filters.Contains()
...
The `filters.Include()` method was deprecated in favor of `filters.Contains()`
in 065118390a3ecaf0dbd2fa752d54d43f8f1e8ec6, but still used in various
locations.
This patch replaces uses of `filters.Include()` with `filters.Contains()`.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 97c5ae25c4d857563acd1f3467afc760145b1d55
Component: engine
2017-09-26 13:39:56 +02:00
Yong Tang
b987e63572
Update runc to 0351df1c5a66838d0c392b4ac4cf9450de844e2d
...
This fix updates runc to 0351df1c5a66838d0c392b4ac4cf9450de844e2d
With this fix the warnings generated by netgo and dlopen by go 1.9
are addressed.
See
- opencontainers/runc#1577
- opencontainers/runc#1579
This fix is part of the efforts for go 1.9 (#33892 )
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
Upstream-commit: e0ff1d147bc12234f1be25a620bf6b3bf3179d97
Component: engine
2017-09-26 11:07:27 +00:00
Sebastiaan van Stijn
cbf8cc6faf
Suppress warning for renaming missing tmp directory
...
When starting `dockerd` on a host that has no `/var/lib/docker/tmp` directory,
a warning was printed in the logs:
$ dockerd --data-root=/no-such-directory
...
WARN[2017-09-26T09:37:00.045153377Z] failed to rename /no-such-directory/tmp for background deletion: rename /no-such-directory/tmp /no-such-directory/tmp-old: no such file or directory. Deleting synchronously
Although harmless, the warning does not show any useful information, so can be
skipped.
This patch checks thetype of error, so that warning is not printed.
Other errors will still show up:
$ touch /i-am-a-file
$ dockerd --data-root=/i-am-a-file
Unable to get the full path to root (/i-am-a-file): canonical path points to a file '/i-am-a-file'
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 2b50b14aebc12722f81db8d8f66415e1fa7b954a
Component: engine
2017-09-26 12:04:30 +02:00
Vincent Demeester
b4098a4e18
Merge pull request #34968 from chris-crone/integration-test-docker-ee
...
Docker EE integration test fixes
Upstream-commit: 147443a42665419d8b3c2047a7d345440bfb63c0
Component: engine
2017-09-26 10:50:09 +02:00
Vincent Demeester
48757849a4
Merge pull request #34946 from dnephin/fix-jsonlog
...
Move pkg/jsonlog to be a subpackage of the single consumer
Upstream-commit: 7d47823c22945bb24a609a7ef20c0559d78d96e4
Component: engine
2017-09-26 10:49:57 +02:00
Boaz Shuster
ec4868350d
Add an integration test for bug #31392 regression
...
This verifies that bug #31392 won't surface again.
To reproduce the bug:
1) docker run -dit --name a0 busybox sh
2) docker run -dit --name b0 --link a0 busybox sh
3) docker rename a0 a1
4) docker run -dit --name a0 busybox sh
5) docker rm -f b0
6) docker run -dit --name b0 --link a0 busybox sh
Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com >
Upstream-commit: 48a26ba9e42f25ebc1ad732b4c0d31e77a7aaa55
Component: engine
2017-09-26 10:55:59 +03:00
Vincent Demeester
fa79e0059e
Merge pull request #34943 from tonistiigi/vendor-buildkit
...
vendor: update buildkit to aaff9d591
Upstream-commit: 4d48baacde3dd6bb9e4c4f8ef1319765ded031f4
Component: engine
2017-09-26 08:37:46 +02:00
yangchenliang
401172966f
"docker swarm init --force-new-cluster" use limit
...
Signed-off-by: yangchenliang <yangchenliang@huawei.com >
When worker executor `docker swarm init
--force-new-cluster`,docker would hang.So only manager can process it.
Signed-off-by: yangchenliang <yangchenliang@huawei.com >
Upstream-commit: 12e947efdba5481020f6543514ade83d87c69a28
Component: engine
2017-09-26 12:05:19 +08:00
Daniel Nephin
f367f50630
Move jsonlog to a subpackage of jsonfilelog
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 035604cca6d6bd9a432268caf7515a35023908ed
Component: engine
2017-09-25 16:07:25 -04:00
Daniel Nephin
7d644fb209
Fix benchmarks and remove more unnecessary code.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: a06ad2792ab92d4f246e4b4cc4c3529eb060651e
Component: engine
2017-09-25 16:07:25 -04:00
Daniel Nephin
4701b66889
Remove unused JSONLog marshaling
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 231c5cbd50e1870f31eb6a525b2df2ed7a716565
Component: engine
2017-09-25 16:07:25 -04:00
Daniel Nephin
a001c9d5c7
Remove unused Format
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 638d4cc7e4390ab217be711913017b22ce2cd5c2
Component: engine
2017-09-25 16:07:25 -04:00
Daniel Nephin
0c6f170345
Unexport FastTimeMarshalJSON
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 7de92de636ef307d66b7b20b24f166a47f40f72b
Component: engine
2017-09-25 16:07:25 -04:00
Daniel Nephin
101f740d40
Move RFC3339NanoFixed to a more appropriate package.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 27cfa68af16721c978803c3b695bcc7181ccc721
Component: engine
2017-09-25 16:07:24 -04:00
Darren Stahl
658351133f
Fix error string about containers feature
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
Upstream-commit: 31405b556f155d8f56902086c7c24efe25dd8de0
Component: engine
2017-09-25 12:39:27 -07:00
Darren Stahl
3c4574bac3
Ensure Host Network Service exists
...
If HNS does not exist on the Docker host, the daemon may fail with unexpected
and difficult to diagnose errors. This check prevents the daemon from starting
on a system that does not have the correct prerequisites.
Signed-off-by: Darren Stahl <darst@microsoft.com >
Upstream-commit: 1edcc63560cb1286f452565754092bc2eb428ffa
Component: engine
2017-09-25 11:07:44 -07:00
Joao Fernandes
025e41d2ae
Add note about joining through a load balancer
...
Signed-off-by: Joao Fernandes <joao.fernandes@docker.com >
Upstream-commit: 8595d15d60
Component: cli
2017-09-25 10:53:20 -07:00
Riyaz Faizullabhoy
702bac1553
mark command as experimental in docs and cli
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
Upstream-commit: e07f345267
Component: cli
2017-09-25 09:39:46 -07:00
Riyaz Faizullabhoy
e0bca90fda
trust: rename inspect to view, add repo name to signer table header
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
Upstream-commit: c6db0cd7a1
Component: cli
2017-09-25 09:39:46 -07:00
Riyaz Faizullabhoy
94f2b59302
tests: use alice/bob/claire conventional names for signers
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
Upstream-commit: 46a879e3b9
Component: cli
2017-09-25 09:39:46 -07:00