Andrew Hsu
9b80ff5665
use pre-compiled golang arm64 toolset
...
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
Upstream-commit: 30c250b285e758b295e010eee64b726cdac0e7be
Component: packaging
2017-12-01 14:56:19 -08:00
Daniel Nephin
5016fee3dc
Merge pull request #35578 from thaJeztah/fix-portbindings-swagger
...
Fix PortBindings definition in Swagger
Upstream-commit: ac68411f85a1c4540c0d4f5b7db86b0b0422f025
Component: engine
2017-12-01 17:46:38 -05:00
Madhu Venugopal
9a7838eb22
Merge pull request #35422 from pradipd/lbfix
...
Move load balancer sandbox creation/deletion into libnetwork
Upstream-commit: 4bb2c2402df88f0e3e8c47499fc2de5182719e00
Component: engine
2017-12-01 14:08:48 -08:00
Andrew Hsu
29875cbb85
use golang 1.9.2
...
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
Upstream-commit: 0c04ba6701d462b173ed63bdcd9a55c0e95d8ce1
Component: packaging
2017-12-01 13:59:10 -08:00
Andrew Hsu
f1232b72bc
Merge pull request #61 from seemethere/fix_jenkinsfile
...
Make Jenkinsfile actually function
Upstream-commit: b53c9642495f3c09e2c95791ab6108fe8733fe2b
Component: packaging
2017-12-01 13:58:39 -08:00
Eli Uriegas
3cd9275696
Make directory references absolute
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
Upstream-commit: bca63242a9c166a944619019da6e0b50f03b4233
Component: packaging
2017-12-01 21:52:00 +00:00
Eli Uriegas
b63d8b8465
Remove fancy github context notifiers
...
They don't function correctly and they're not worth it
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
Upstream-commit: 3f5a6f288ad7e134abb4ac99e56cbbca17bfae88
Component: packaging
2017-12-01 21:47:49 +00:00
Kir Kolyshkin
f1cfd038e2
zfs: fix ebusy on umount
...
This commit is a set of fixes and improvement for zfs graph driver,
in particular:
1. Remove mount point after umount in `Get()` error path, as well
as in `Put()` (with `MNT_DETACH` flag). This should solve "failed
to remove root filesystem for <ID> .... dataset is busy" error
reported in Moby issue 35642.
To reproduce the issue:
- start dockerd with zfs
- docker run -d --name c1 --rm busybox top
- docker run -d --name c2 --rm busybox top
- docker stop c1
- docker rm c1
Output when the bug is present:
```
Error response from daemon: driver "zfs" failed to remove root
filesystem for XXX : exit status 1: "/sbin/zfs zfs destroy -r
scratch/docker/YYY" => cannot destroy 'scratch/docker/YYY':
dataset is busy
```
Output when the bug is fixed:
```
Error: No such container: c1
```
(as the container has been successfully autoremoved on stop)
2. Fix/improve error handling in `Get()` -- do not try to umount
if `refcount` > 0
3. Simplifies unmount in `Get()`. Specifically, remove call to
`graphdriver.Mounted()` (which checks if fs is mounted using
`statfs()` and check for fs type) and `mount.Unmount()` (which
parses `/proc/self/mountinfo`). Calling `unix.Unmount()` is
simple and sufficient.
4. Add unmounting of driver's home to `Cleanup()`.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
Upstream-commit: a450a575a672b90f02a4b1d3d9300ce1d70a6311
Component: engine
2017-12-01 13:46:47 -08:00
Andrew Hsu
e57d9082bb
Merge pull request #57 from seemethere/add_tests
...
Adds initial Jenkinsfile
Upstream-commit: 20ac959f7f135b20c45b56d8dd50353a0e3a5e52
Component: packaging
2017-12-01 13:17:46 -08:00
Eli Uriegas
5b5e980ec3
Adds initial Jenkinsfile.
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com >
Upstream-commit: 31a08611f6b87f71d673ab254471826eed225858
Component: packaging
2017-12-01 21:16:46 +00:00
Sargun Dhillon
20a2865e53
Fix setting mtimes on directories
...
Previously, the code would set the mtime on the directories before
creating files in the directory itself. This was problematic
because it resulted in the mtimes on the directories being
incorrectly set. This change makes it so that the mtime is
set only _after_ all of the files have been created.
Signed-off-by: Sargun Dhillon <sargun@sargun.me >
Upstream-commit: 77a2bc3e5bbc9be3fe166ed8321b7cd04e7bd097
Component: engine
2017-12-01 09:12:43 -08:00
dungeonmaster18
f62beecbb7
Added auto complete command for fluentd-sub-second-precision
...
Signed-off-by: dungeonmaster18 <umesh4257@gmail.com >
Upstream-commit: d5271568a2
Component: cli
2017-12-01 18:39:41 +05:30
Nicolas De Loof
148bfd3114
introduce workingdir option for docker exec
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
Upstream-commit: 19f2749d3906707717aeec9da27c499bcdc07da8
Component: engine
2017-12-01 09:06:07 +01:00
Andrew Hsu
6a8cf843af
Merge component 'engine' from git@github.com:moby/moby master
2017-12-01 04:12:05 +00:00
Jake Sanders
559fcde9d4
Disambiguate mirror -> other endpoint fallbacks from V2 -> V1
...
Signed-off-by: Jake Sanders <jsand@google.com >
Upstream-commit: 305801f58f22c9a26bc05eaa800e399afb212fe3
Component: engine
2017-11-30 20:01:03 -08:00
Andrew Hsu
5f26edda74
Merge component 'cli' from git@github.com:docker/cli master
2017-12-01 03:52:40 +00:00
Victor Vieux
b611814dc6
Merge pull request #35628 from ikarpovich/35626-le-line-only-legacy
...
Logentries line-only logopt fix to maintain backwards compatibility
Upstream-commit: 3a9ab941adcc7a39c3ea8c52e3c215cdddb2fe67
Component: engine
2017-11-30 15:48:56 -08:00
Yong Tang
f67476ad43
Merge pull request #35645 from crosbymichael/ctd-10
...
Update containerd to pre-1.0 rc commit
Upstream-commit: 3eb7314519714e0392a4863d6cd4beb3a4b206e8
Component: engine
2017-11-30 15:22:01 -08:00
Pradip Dhara
b8226cb988
Adding test for creating service multiple times.
...
Signed-off-by: Pradip Dhara <pradipd@microsoft.com >
Upstream-commit: 791d88b8538b4949153d346ec738139aa6d15280
Component: engine
2017-11-30 13:03:44 -08:00
Pradip Dhara
19fca6eb66
docker changes corresponding to libnetwork changes.
...
Signed-off-by: Pradip Dhara <pradipd@microsoft.com >
Upstream-commit: 41071d6648fe5b4649354e806543b9520af45383
Component: engine
2017-11-30 13:03:30 -08:00
Pradip Dhara
553ad48935
vndr libnetwork 64ae58878fc8f95e4a167499d654e13fa36abdc7
...
Signed-off-by: Pradip Dhara <pradipd@microsoft.com >
Upstream-commit: 7de313ac4ec2084aca6c91efc3124b9dbffc5f1a
Component: engine
2017-11-30 13:02:56 -08:00
Sebastiaan van Stijn
a8cf119f39
Merge pull request #35516 from mlaventure/reduce-race-on-exit
...
Add missing lock in ProcessEvent
Upstream-commit: 9d00efb533d3561220d169a86ca9ff965f9a6b2c
Component: engine
2017-11-30 11:30:51 -08:00
Yong Tang
4d4ec05575
Merge pull request #35533 from AliyunContainerService/supress-warning-healthcheck-none
...
Suppress warning when NONE was set for healthcheck
Upstream-commit: 29d6aef3930bf2ba815e27f4507f035a7fb5ba6c
Component: engine
2017-11-30 11:06:05 -08:00
Yong Tang
a620b9f6fd
Merge pull request #35496 from cpuguy83/add_timeouts_to_splunk_post
...
Set timeout on splunk batch send
Upstream-commit: 88e36dcc76c08d13fd83f91fa7dbe4a6ff4c83b8
Component: engine
2017-11-30 09:47:48 -08:00
Victor Vieux
4a8c6447a6
Merge pull request #719 from vdemeester/test-secret-config-indempotence
...
Add unit tests on config/secret indempotence in stack deploy
Upstream-commit: 6b63d7b96a
Component: cli
2017-11-30 08:39:56 -08:00
Harald Albers
25c006f1cc
Fix #512 Bash autocompletion works incorrect with inspect
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: a2d0b6e122
Component: cli
2017-11-30 17:28:33 +01:00
Michael Crosby
87f648cd90
Merge pull request #35618 from kolyshkin/mkdir-all
...
Fix MkdirAll* and its usage
Upstream-commit: 72e45fd54e13256c813fdb39b18e26a0de980733
Component: engine
2017-11-30 11:19:29 -05:00
Michael Crosby
9d718a77b7
Merge pull request #35614 from mlaventure/remove-exec-bypid
...
Remove ByPid from ExecCommands
Upstream-commit: edbf7d8ed41a88d34dd9ad249ac94f095e0d3385
Component: engine
2017-11-30 11:17:42 -05:00
Michael Crosby
d99ad61b69
Update containerd to 6bff39c643886dfa3d546e83a90a5
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
Upstream-commit: c2cb302d1701e0de35930671f61e5d267fcb3e01
Component: engine
2017-11-30 11:16:25 -05:00
Michael Crosby
ad76847e4b
Update daemon code for containerd API changes
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
Upstream-commit: aa3ce07c41e0da9331f0659f28fed7f35846556c
Component: engine
2017-11-30 09:55:03 -05:00
Igor Karpovich
c4cb5e12ad
Logentries line-only logopt fix to maintain backwards compatibility
...
Changed logic to ignore empty value
Fixes #35626
Signed-off-by: Igor Karpovich <igor@karpovich.me >
Upstream-commit: 27a5b878c149fd70ca1e0beebda58edcc19abc73
Component: engine
2017-11-30 13:03:16 +00:00
Vincent Demeester
9818aadf77
Add unit tests on config/secret indempotence in stack deploy
...
Related PR : https://github.com/docker/cli/pull/509
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: 5ed399e588
Component: cli
2017-11-30 09:45:32 +01:00
Vincent Demeester
617fb8ceb7
Merge pull request #702 from albers/completion-log--until
...
Add bash completion for `logs --until`
Upstream-commit: b45a49c83f
Component: cli
2017-11-30 09:40:08 +01:00
Harald Albers
3c7ba9bf1b
Add bash completion for --platform
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 15f78417b9
Component: cli
2017-11-30 09:29:15 +01:00
Tõnis Tiigi
a88b24bfeb
Merge pull request #35483 from thaJeztah/disallow-nfs-backing-for-overlay
...
Disallow overlay/overlay2 on top of NFS
Upstream-commit: bdd9668b489c65eb1ef7272d38ad877ffda2041c
Component: engine
2017-11-29 19:24:58 -08:00
Yong Tang
1072fa08f7
Merge pull request #35634 from fcrisciani/fix-net-not-found
...
Restore error type in FindNetwork
Upstream-commit: e0b3ddd4377b9539e6112e57777f4c7b1d0bfc08
Component: engine
2017-11-29 16:26:26 -08:00
Michael Crosby
d9f34cfcb3
Update containerd to 59bd1967112885c4d49e510e55701
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
Upstream-commit: 5bd902b5cfbb360915b02fc2a787ae9e1c183405
Component: engine
2017-11-29 19:15:14 -05:00
Akihiro Suda
3e4063cddb
Merge pull request #35501 from cpuguy83/lock_while_stopping_healthcheck
...
Fix some issues with locking on the container
Upstream-commit: 3d80a692d146e10282bacc0dd2698ffd32dcdaae
Component: engine
2017-11-30 09:01:31 +09:00
Victor Vieux
006ed302fe
Merge pull request #35527 from thaJeztah/feature-detect-overlay2
...
Detect overlay2 support on pre-4.0 kernels
Upstream-commit: 11e07e7da6023b872788b1e05f83e147f0984fb2
Component: engine
2017-11-29 13:51:26 -08:00
Sebastiaan van Stijn
02055337d8
Merge pull request #694 from riyazdf/trust-inspect
...
docker trust inspect
Upstream-commit: d921d5cc39
Component: cli
2017-11-29 11:33:53 -08:00
Flavio Crisciani
ea17d4a2f5
Restore error type in FindNetwork
...
The error type libnetwork.ErrNoSuchNetwork is used in the controller
to retry the network creation as a managed network though the manager.
The change of the type was breaking the logic causing the network to
not being created anymore so that no new container on that network
was able to be launched
Added unit test
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com >
Upstream-commit: 51cea0a53c2fd36832277402e9faac81bfb4abd4
Component: engine
2017-11-29 11:22:57 -08:00
Riyaz Faizullabhoy
f8c7f6621d
Use default inspect formatting, remove omitempty, update docs
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
Upstream-commit: a9428285f0
Component: cli
2017-11-29 10:52:35 -08:00
Riyaz Faizullabhoy
b1e7ee7a82
support multiple arguments to trust inspect
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
Upstream-commit: 1eb87cc096
Component: cli
2017-11-29 10:52:34 -08:00
Riyaz Faizullabhoy
7e9b53fd42
add docker trust inspect command for JSON viewing
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
Upstream-commit: cd38d39d0d
Component: cli
2017-11-29 10:52:34 -08:00
Sebastiaan van Stijn
9b7953e812
Merge pull request #718 from dnephin/fix-e2e-docker-build
...
Fix e2e build test
Upstream-commit: 1b4f2d3b73
Component: cli
2017-11-29 10:30:31 -08:00
Sebastiaan van Stijn
a79583a886
Merge pull request #677 from albers/completion-log-opts
...
Add new log driver options to bash completion
Upstream-commit: 4f009541cb
Component: cli
2017-11-29 10:01:19 -08:00
Tõnis Tiigi
fe41a825e2
Merge pull request #678 from albers/completion-build--stream
...
Add bash completion for experimental `build --stream`
Upstream-commit: c428561b63
Component: cli
2017-11-29 10:00:23 -08:00
Sebastiaan van Stijn
264f9d5a4f
Merge pull request #701 from albers/completion-trust-sign--local
...
Add bash completion for `trust sign --local`
Upstream-commit: e5d49c0199
Component: cli
2017-11-29 09:44:53 -08:00
Sebastiaan van Stijn
40b8aa0152
Merge pull request #467 from estesp/chown-flag-docs
...
Add docs for Dockerfile ADD/COPY --chown flag
Upstream-commit: 12765c318f
Component: cli
2017-11-29 09:28:30 -08:00
Daniel Nephin
29f2890225
Fix e2e build test
...
The build output changed in 17.11
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 16cd84024c
Component: cli
2017-11-29 11:02:40 -05:00