Vincent Demeester
22a03192fb
Merge pull request #33114 from dnephin/fix-builder-warn-on-unused-builtint
...
Fix warning for unused build args
2017-05-10 09:38:07 +02:00
Madhu Venugopal
80bb6a46a3
Merge pull request #33094 from darrenstahlmsft/RevendorGoWinio
...
Update go-winio to v0.4.0 (go 1.8.x works on Windows)
2017-05-09 22:46:31 -07:00
Tibor Vass
c68612de0c
Merge pull request #33123 from johnstep/windows-respect-client-repo
...
Update make.ps1 to respect client repo
2017-05-09 19:03:50 -07:00
Darren Stahl
24d4177859
Update go-winio to v0.4.0
...
Signed-off-by: Darren Stahl <darst@microsoft.com>
2017-05-09 17:49:55 -07:00
Nishant Totla
12e232ee35
/distribution/{name}/json returns full Descriptor object
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2017-05-09 17:25:27 -07:00
Michael Crosby
270a33b666
Add OPOST back to !cgo build for pkg/term
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-09 16:36:17 -07:00
Brian Goff
d1a7ea147c
Merge pull request #33089 from Microsoft/jjh/hccsshimv0.5.16
...
Revendor Microsoft\hcsshim @ v0.5.17
2017-05-09 19:21:20 -04:00
Michael Crosby
6a96049ddf
Update containerd for terminal updates
...
Fixes #33101
This syncs up the OPOST changes for mkraw on the tty
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-09 16:14:31 -07:00
Daniel Nephin
543dfde637
Merge pull request #32997 from dnephin/fix-builder-scratch-with-name
...
Fix a rare case where using FROM scratch as NAME would fail
2017-05-09 18:15:33 -04:00
Akihiro Suda
3d7af24f63
Merge pull request #32145 from ripcurld0/fix_32120
...
Disable HTML escaping for JSON in formatter
2017-05-10 06:54:56 +09:00
Flavio Crisciani
7ff9fb5f04
Libnetwork vendoring
...
Fixes backward compatibility for memberlist
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
2017-05-09 13:41:54 -07:00
John Stephens
2bc6fffacb
Update make.ps1 to respect client repo
...
Signed-off-by: John Stephens <johnstep@docker.com>
2017-05-09 13:07:09 -07:00
Sebastiaan van Stijn
1a6f8a92b2
Merge pull request #32792 from rogaha/extra_prometheus_metrics
...
Add extra prometheus metrics
2017-05-09 21:48:34 +02:00
Tianon Gravi
500d267356
Merge pull request #33122 from stevedesmond-ca/patch-1
...
make install script clearer which packages to install for AUFS support
2017-05-09 12:33:58 -07:00
Steve Desmond
089c2e2131
make it clearer which packages to install for AUFS support
...
Signed-off-by: Steve Desmond <steve@vtsv.ca>
2017-05-09 15:02:33 -04:00
John Howard
1bb3f57c45
Revendor Microsoft\hcsshim @ v0.5.17
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2017-05-09 11:44:14 -07:00
Sebastiaan van Stijn
09ff5ce29c
Merge pull request #32909 from cpuguy83/32907_volume_unmount_on_cp
...
Add refcount for MountPoint
2017-05-09 20:15:41 +02:00
Neil Horman
5206d45e70
Move UdevWait from defer to inline
...
All LVM actions in the devicemapper library are asyncronous, involving a call to
a task enqueue function (dm_run_task) and a wait on a resultant udev event
(UdevWait). Currently devmapper.go defers all calls to UdevWait, which discards
the return value. While it still generates an error message in the log (if
debugging is enabled), the calling thread is still allowed to continue as if no
error has occured, leading to subsequent errors, and significant confusion when
debugging, due to those subsequent errors. Given that there is no risk of panic
between the task submission and the wait operation, it seems more reasonable to
preform the UdevWait inline at the end of any given lvm action so that errors
can be caught and returned before docker can continue and create additional
failures.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
2017-05-09 13:42:04 -04:00
Neil Horman
edd1c9e325
Make cookies for devicemapper operations unique
...
Currently, the devicemapper library sets cookies to correlate wait operations,
which must be unique (as the lvm2 library doesn't detect duplicate cookies).
The current method for cookie generation is to take the address of a cookie
variable. However, because the variable is declared on the stack, execution
patterns can lead to the cookie variable being declared at the same stack
location, which results in a high likelyhood of duplicate cookie use, which in
turn can lead to various odd lvm behaviors, which can be hard to track down
(object use before create, duplicate completions, etc). Lets guarantee that the
cookie we generate is unique by declaring it on the heap instead. This
guarantees that the address of the variable won't be reused until such time as
the UdevWait operation completes, and drops its reference to it, at which time
the gc can reclaim it.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
2017-05-09 13:42:01 -04:00
Neil Horman
547510fb55
Enhance error logging for failed UdevWait operations in devmapper
...
If a wait event fails when preforming a devicemapper operation, it would be good
to know, in addition to the cookie that its waiting on, we reported the error
that was reported from the lvm2 library.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
2017-05-09 13:41:12 -04:00
Brian Goff
9c537b95de
Merge pull request #33111 from cpuguy83/rerun_vendor
...
Re-run vndr
2017-05-09 13:32:28 -04:00
Sebastiaan van Stijn
781ff2bcff
Merge pull request #33110 from dnephin/remove-some-hack
...
Remove compose-bindata script, it should move to docker/cli
2017-05-09 19:29:56 +02:00
Sebastiaan van Stijn
3a2d68a8a0
Merge pull request #32930 from gjaskiewicz/master
...
gcplogging driver MRPB for VM set
2017-05-09 19:29:23 +02:00
Aaron Lehmann
9370b6ac2d
Merge pull request #33105 from YuPengZTE/devContentReader
...
check err
2017-05-09 09:44:35 -07:00
Daniel Nephin
72cc81ee8d
Fix warning for unused build args.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-05-09 11:25:33 -04:00
Sebastiaan van Stijn
a762ceace4
Merge pull request #32670 from perweij/fix-Dockerfile-instruction
...
Correcting test-instruction.
2017-05-09 17:20:42 +02:00
Brian Goff
5122abeb44
Re-run vndr
...
Now that the CLI is gone there are lots of packages that need to be
pruned from vendor.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-05-09 10:59:25 -04:00
Vincent Demeester
66bc8f128c
Merge pull request #32983 from allencloud/add-disk-usage-test-in-client
...
add disk usage test for client package
2017-05-09 16:44:43 +02:00
Daniel Nephin
47cceb7f2c
Remove compose-bindata script, it should move to docker/cli
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-05-09 10:38:36 -04:00
Sebastiaan van Stijn
7f968435f6
Merge pull request #33062 from ColinHebert/remove_cli_3.3
...
Remove compose 3.3 schema
2017-05-09 16:21:21 +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
Grzegorz Jaśkiewicz
d925e50470
gcplogging driver MRPB set
...
Signed-off-by: Grzegorz Jaśkiewicz <gj.jaskiewicz@gmail.com>
2017-05-09 14:24:43 +02:00
yupengzte
595901bd7e
check err
...
Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
2017-05-09 19:24:21 +08:00
Roberto Gandolfo Hashioka
a28b173a78
Add extra prometheus metrics
...
- buildsTriggered
- buildsFailed
- valid options:
metricsDockerfileSyntaxError,
metricsDockerfileEmptyError,
metricsCommandNotSupportedError,
metricsErrorProcessingCommandsError,
metricsBuildTargetNotReachableError,
metricsMissingOnbuildArgumentsError,
metricsUnknownInstructionError,
metricsBuildCanceled,
- engineInfo
Signed-off-by: Roberto Gandolfo Hashioka <roberto_hashioka@hotmail.com>
2017-05-09 01:04:40 -07:00
Vincent Demeester
85a7f4bbc7
Merge pull request #32939 from jvmatl/master
...
Improve documentation on the -e flag to the 'run' cli command.
2017-05-09 09:50:21 +02:00
Vincent Demeester
6b3801858c
Merge pull request #32877 from chchliang/unittest
...
add testcase with api/errors/errors_test.go
2017-05-09 09:42:08 +02:00
Vincent Demeester
040a1d79a2
Merge pull request #33083 from albers/completion-stack-deploy--prune
...
bash completion for `stack deploy --prune`
2017-05-09 09:36:12 +02:00
Boaz Shuster
5766317e33
Disable HTML escaping for JSON in formatter
...
Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2017-05-09 10:16:10 +03:00
Nishant Totla
41b27de41b
Adding /distribution/{name}/json endpoint to contact registry
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2017-05-08 16:58:38 -07:00
Nishant Totla
e842c653a0
Change GetRepository to take Named arguments
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2017-05-08 16:58:38 -07:00
Tibor Vass
4b846a125b
Merge pull request #33059 from nishanttotla/vendor-swarmkit
...
Vendor swarmkit f420c4b9e1535170fc229db97ee8ac32374020b1
2017-05-08 14:27:51 -07:00
Tonis Tiigi
63c16a443a
Add builder dev-report for 2017-05-07
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-08 11:36:37 -07:00
Brian Goff
daa8b262fe
Merge pull request #33092 from tonistiigi/remove-install-binary-client
...
hack: Remove install-binary-client
2017-05-08 14:32:13 -04:00
Tonis Tiigi
973bce2100
hack: Remove install-binary-client
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-08 10:50:31 -07:00
Tonis Tiigi
29efb93a19
builder: Fix releasing implicit mounts
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-08 10:32:20 -07:00
Sebastiaan van Stijn
dda41118b0
Merge pull request #33085 from thaJeztah/docs-improve-pipe-description
...
fix confusing description of stdout/stdin pipe
2017-05-08 18:55:04 +02:00
John Howard
6f7dc65847
Windows: Block read-only
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2017-05-08 09:29:37 -07:00
Kenfe-Mickaël Laventure
7238cca42c
Merge pull request #33007 from crosbymichael/containerd-rc5
...
Update moby to containerd and runc 1.0 final rc
2017-05-08 09:23:07 -07:00
Sebastiaan van Stijn
c3dff2359d
fix confusing description of stdout/stdin pipe
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-05-08 15:33:14 +02:00
Sebastiaan van Stijn
afd7e2d2d5
Merge pull request #32978 from thaJeztah/fix-network-list-example
...
Update description and example for network-list endpoint
2017-05-08 15:14:55 +02:00