Michael Crosby
5ff66748da
Export GOOS and GOARCH in subprocess for tgz
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-03-22 15:43:06 -07:00
David Calavera
9e9c73a528
Vendor engine-api v0.3.0
...
I tagged the current commit so we have a better reference
of what's in this release.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-03-22 18:12:16 -04:00
David Calavera
506fb9810c
Merge pull request #21396 from aboch/vnn
...
Vendoring libnetwork v0.7.0-dev.10
2016-03-22 15:09:42 -07:00
Tibor Vass
8b8fcb796f
Merge pull request #21303 from riyazdf/notary-vendor-docker1.11
...
vendor notary for docker1.11
2016-03-22 17:57:17 -04:00
David Calavera
2ec1764d45
Merge pull request #21400 from LK4D4/fix_volumes_race
...
volume/local: fix race in List
2016-03-22 14:29:12 -07:00
David Calavera
acaec7f67c
Merge pull request #21385 from tonistiigi/load-parent-chain
...
Add parent references support to load/save
2016-03-22 14:07:06 -07:00
Alexander Morozov
14e1325656
daemon: log errors from stats calls
...
I encountered silent errors ignoring when runc failed to parse pids.max
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-03-22 14:03:47 -07:00
Alexander Morozov
3eb0a80f29
builder: synchronize stderr and stdout
...
it's concurrent streams and should be synchronized before writing to response.
Otherwise there will be race in writing to *bufio.Writer in
net/http.response.
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-03-22 13:57:29 -07:00
Tonis Tiigi
14dc4a7158
Expose RootFS in image inspect
...
Fixes #20451
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2016-03-22 13:49:30 -07:00
Alessandro Boch
fbdb3c3a4b
Vendoring libnetwork v0.7.0-dev.10
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-03-22 12:36:21 -07:00
Michael Crosby
aca7e73a69
Copy containerd binaries in tgz
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-03-22 12:23:17 -07:00
Tibor Vass
53d2e5e9d7
Merge pull request #21270 from ehazlett/resource-labels
...
Add Label support for Images (build), Networks and Volumes on Creation
2016-03-22 15:12:33 -04:00
Michael Crosby
78568f2eb5
Add function for copy containerd
...
This adds a function for copying containerd and other binaries as well
as adding a hash for those files.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-03-22 12:06:56 -07:00
David Calavera
62d4556654
Merge pull request #21383 from estesp/shared-userns-net-ipc
...
Allow net and IPC namespaces to be shared when userns=on
2016-03-22 11:40:12 -07:00
Riyaz Faizullabhoy
ab3772f72f
vendor notary for docker1.11
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-03-22 11:28:19 -07:00
Alexander Morozov
3536c09cea
volume/local: fix race in List
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-03-22 11:21:38 -07:00
Tibor Vass
de9ff4bdc0
Merge pull request #21223 from cpuguy83/add_nocp_to_vols
...
Add explicit flags for volume cp/no-cp
2016-03-22 13:45:12 -04:00
Ken Cochrane
5e3a8ef887
Updated release.sh script to stop uploading binaries
...
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2016-03-22 13:42:54 -04:00
Michael Crosby
0dcdd1c5b8
Merge pull request #21341 from duglin/tweakBuild
...
Add containerd/runc exes to bundle dir after build
2016-03-22 10:29:56 -07:00
Vincent Demeester
e8774fbb9f
Merge pull request #21366 from martinmosegaard/master
...
Fix plural typo in 'save' command help
2016-03-22 17:26:32 +01:00
Evan Hazlett
fc214b4408
add label support for build, networks and volumes
...
build: implement --label
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
network: allow adding labels on create
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
volume: allow adding labels on create
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
add tests for build, network, volume
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
vendor: libnetwork and engine-api bump
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2016-03-22 11:49:06 -04:00
Brian Goff
563d0711f8
Move layer mount refcounts to mountedLayer
...
Instead of implementing refcounts at each graphdriver, implement this in
the layer package which is what the engine actually interacts with now.
This means interacting directly with the graphdriver is no longer
explicitly safe with regard to Get/Put calls being refcounted.
In addition, with the containerd, layers may still be mounted after
a daemon restart since we will no longer explicitly kill containers when
we shutdown or startup engine.
Because of this ref counts would need to be repopulated.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-03-22 11:36:28 -04:00
Sebastiaan van Stijn
7720338713
Merge pull request #21388 from zhuguihua/move_zfs_options_to_correct_place_in_man_page
...
Move ZFS options to correct place in man page
2016-03-22 08:26:54 +01:00
Martin Mosegaard Amdisen
5a701c3e4c
Update 'save' command help
...
Based on review feedback.
Signed-off-by: Martin Mosegaard Amdisen <martin.amdisen@praqma.com>
2016-03-22 08:16:52 +01:00
Zhu Guihua
df6def3c0c
Move ZFS options to correct place in man page
...
Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
2016-03-22 14:50:49 +08:00
Vincent Demeester
666563b190
Merge pull request #21046 from cyli/use-notary-cli
...
Sign all first-level delegation roles when doing a trusted push
2016-03-22 07:42:21 +01:00
John Howard
bb68b666c5
Windows: Fix mountinfo
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2016-03-21 22:03:24 -07:00
Arnaud Porterie
9f327b4c28
Merge pull request #21373 from aaronlehmann/client-user-agent-registry-operations
...
Pass upstream client's user agent through to registry on operations beyond pulls
2016-03-21 21:49:48 -07:00
Sven Dowideit
c937b43abd
WORKDIR is like calling mkdir - but we've not told people
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-03-22 14:05:56 +10:00
David Calavera
adc6ed5a10
Merge pull request #21354 from Microsoft/jjh/getpids
...
Windows: Minimal docker top implementation
2016-03-21 19:59:27 -07:00
Tonis Tiigi
faeff5118f
Add parent references support to load/save
...
Restores the correct parent chain relationship
between images on docker load if multiple images
have been saved.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2016-03-21 19:31:10 -07:00
Phil Estes
2b278f4846
Allow net and IPC namespaces to be shared when userns=on
...
Now that the namespace sharing code via runc is vendored with the
containerd changes, we can disable the restrictions on container to
container net and IPC namespace sharing when the daemon has user
namespaces enabled.
Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2016-03-21 22:20:26 -04:00
Doug Davis
1bf5eb20e5
Add containerd/runc exes to bundle dir after build
...
Not sure if this is the right setup given the containerd change but I need
to have the built version of the nested exes (containerd, runc...) available
to me after the build is completed so I'm always testing using the latest
versions. This PR will copy them into the same bundles dir so people can
them use them if they wish w/o having to build each separately.
Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-03-21 17:50:59 -07:00
Brian Goff
b0ac69b67e
Add explicit flags for volume cp/no-cp
...
This allows a user to specify explicitly to enable
automatic copying of data from the container path to the volume path.
This does not change the default behavior of automatically copying, but
does allow a user to disable it at runtime.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-03-21 20:38:44 -04:00
Kenfe-Mickael Laventure
00bf3c85d0
Give selinux pcp_pmcd_t type access to /var/lib/docker
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-21 16:38:26 -07:00
Tibor Vass
c22d09f563
Merge pull request #21377 from LK4D4/fix_compile
...
runconfig/opts: fix compilation issue
2016-03-21 19:11:09 -04:00
Alexander Morozov
93f5770511
runconfig/opts: fix compilation issue
...
it was introduced with #20566 as a result of merge
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-03-21 15:01:08 -07:00
Arnaud Porterie
f9f8708dc6
Merge pull request #20566 from AndrewGuenther/20371-validate-hostname
...
Ensure --hostname is valid
2016-03-21 14:49:16 -07:00
Aaron Lehmann
c44e7a3e63
Pass upstream client's user agent through to registry on operations beyond pulls
...
This adds support for the passthrough on build, push, login, and search.
Revamp the integration test to cover these cases and make it more
robust.
Use backticks instead of quoted strings for backslash-heavy string
contstands.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-03-21 14:31:47 -07:00
Arnaud Porterie
278d3962a8
Merge pull request #21306 from mgoelzer/issue20001-nodeps
...
Pass upstream client's user agent through to registry on image pulls
2016-03-21 14:26:59 -07:00
Alexander Morozov
11b4c89087
Merge pull request #21301 from cpuguy83/cleaner_file_log
...
Fixes some issues with jsonfile write/read
2016-03-21 14:03:36 -07:00
Tibor Vass
3ac32cd72e
Merge pull request #21106 from yongtang/20122-volume-one-character
...
Fix one-character directory issue in the volume option (#20122 ).
2016-03-21 16:41:03 -04:00
Kenfe-Mickael Laventure
8af4f89cba
Remove unneeded references to execDriver
...
This includes:
- updating the docs
- removing dangling variables
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-03-21 13:06:08 -07:00
cyli
88d73ebff4
Include documentation on how to add the targets/releases delegation to a repo
...
Signed-off-by: cyli <cyli@twistedmatrix.com>
2016-03-21 12:06:10 -07:00
cyli
623ccc2f31
Pull, Pull-A, and Build will only pull tags from the targets role or the targets/releases role.
...
It will ignore tags in all other delegation roles.
Signed-off-by: cyli <cyli@twistedmatrix.com>
2016-03-21 10:56:49 -07:00
Riyaz Faizullabhoy
ca57f4e6a8
Add test for targets/releases preference when pulling
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-03-21 10:56:42 -07:00
cyli
497a58e6e4
Trusted push now adds the tag to every first level delegation role for which we have keys
...
and for which the tag conforms to path restrictions.
Signed-off-by: cyli <cyli@twistedmatrix.com>
2016-03-21 10:56:09 -07:00
Vincent Demeester
7bbf58ed0d
Merge pull request #21360 from WeiZhang555/clean
...
Clean dead code
2016-03-21 18:42:10 +01:00
Vincent Demeester
d82ad12df8
Merge pull request #19439 from pcarrier/pcarrier/19438-async-connections-to-fluentd
...
fluentd logger: support all options besides Unix sockets
2016-03-21 18:09:14 +01:00
Alexander Morozov
a05fdd6806
Merge pull request #21283 from runcom/update-test
...
vendor docker/distribution d06d6d3b093302c02a93153ac7b06ebc0ffd1793
2016-03-21 09:46:28 -07:00