David Calavera
8870a4eadc
Merge pull request #165 from tonistiigi/expose-layer-ids
...
Expose image rootfs in inspect type
2016-03-21 13:51:22 -07:00
Tonis Tiigi
9bfa942bba
Expose image rootfs in inspect type
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2016-03-21 09:55:27 -07:00
David Calavera
ce093997ee
Merge pull request #160 from vdemeester/network-remove-test
...
Add unit test to NetworkRemove
2016-03-21 09:55:10 -07:00
Vincent Demeester
5f2f7ac1dd
Merge pull request #164 from zhouhaibing089/doc_fix
...
fix the incorrect demo code, the context argument should be passed in
2016-03-20 19:50:28 +01:00
haibzhou
6c72c24563
fix the incorrect demo code, the context argument should be passed in
...
Signed-off-by: haibzhou <haibzhou@ebay.com>
2016-03-20 22:55:03 +08:00
Vincent Demeester
f42a1c4cd8
Add unit test to NetworkRemove
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-19 12:38:55 +01:00
Tibor Vass
0a52c8c252
Merge pull request #156 from ehazlett/resource-labels
...
Label support for images, networks and volumes
2016-03-18 19:25:29 -04:00
Evan Hazlett
95cfeb66ab
label support for images, networks and volumes
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2016-03-18 18:59:55 -04:00
David Calavera
68a7b6bebf
Merge pull request #158 from frenkel/openbsd-support
...
Support openbsd
2016-03-18 13:22:19 -07:00
Yong Tang
d678309bd3
Add "SecurityOptions" in Info.
...
This PR tries to add SecurityOptions field in Info so that
security options such as apparmor, seccomp, or selinux could
be displayed by `docker info`.
Detailed discussion could be found in:
https://github.com/docker/docker/issues/20909
https://github.com/docker/docker/pull/21172
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-03-18 14:12:52 +00:00
Frank Groeneveld
be8ae4be66
Support openbsd
...
Signed-off-by: Frank Groeneveld <frank@frankgroeneveld.nl>
2016-03-18 14:56:01 +01:00
Doug Davis
a72c60aa89
Merge pull request #131 from vdemeester/network-connect-test
...
Add unit test for NetworkConnect
2016-03-18 09:31:05 -04:00
Vincent Demeester
fd4f48ef84
Add unit test for NetworkConnect
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-18 12:35:16 +01:00
David Calavera
0ec73ff029
Merge pull request #143 from cpuguy83/add_volume_status
...
Add `Status` field to Volume type
2016-03-17 10:01:52 -07:00
David Calavera
26cdffeca7
Merge pull request #155 from calavera/vdemeester_is_a_maintainer
...
Add vdemeester to the maintainers list.
2016-03-16 16:24:51 -07:00
Brian Goff
3beb091ad6
Add `Status` field to Volume type
...
This is extra information returned by the volume driver for presenting
to the user.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-03-16 14:26:15 -04:00
David Calavera
0b5b861968
Add vdemeester to the maintainers list.
...
Because his doing an awesome job improving this package.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-03-16 14:05:35 -04:00
Patrick Devine
26c18f33e6
Add swarm node data
...
This change adds missing node information which is returned by
Docker Swarm. Included are things like what node a container is
running on, the IP Address, any labels, etc.
Signed-off-by: Patrick Devine <patrick.devine@docker.com>
2016-03-16 10:58:47 -07:00
Vincent Demeester
6de18e1854
Merge pull request #151 from shishir-a412ed/PR-19367
...
Added Storage driver options for PR # 19367
2016-03-16 18:45:18 +01:00
David Calavera
7e42a18ed6
Merge pull request #152 from vdemeester/fix-image-import
...
ImageImport should use postRaw instead of post.
2016-03-16 10:33:59 -07:00
David Calavera
ac573b320a
Merge pull request #153 from vdemeester/add-go-1-6-to-travis
...
Add go 1.6 to travis build
2016-03-16 10:33:23 -07:00
David Calavera
421d7df5f0
Merge pull request #154 from calavera/fix_go_devel
...
Set TLS ServerName when the transport is created.
2016-03-16 10:09:35 -07:00
David Calavera
9eec4dc67b
Set the TLS connection ServerName when the transport is created.
...
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-03-16 12:54:56 -04:00
Vincent Demeester
2e2e738b25
Add go 1.6 to travis build
...
Go 1.6 has been released so "go tip" is pointing to 1.7 devel.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-16 17:44:55 +01:00
Vincent Demeester
15008f05f8
ImageImport should use postRaw instead of post.
...
Using post instead of postRaw makes client hang for ever.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-16 16:07:37 +01:00
Shishir Mahajan
6d7d8995f7
Added Storage driver options for PR # 19367
...
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
2016-03-16 10:40:16 -04:00
Vincent Demeester
0ea71cceed
Add unit tests to NetworkList
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-16 09:12:48 +01:00
Vincent Demeester
bcabaee58e
Merge pull request #146 from vdemeester/fixing-master-volume-inspect-test
...
Update VolumeInspect tests to compile test again
2016-03-16 09:04:29 +01:00
Vincent Demeester
06cdf453ff
Update VolumeInspect tests to compile test again
...
Merges #123 and #140 made master not compiling again (for tests at
least). Updated tests to fix master and reflect changes from #140 in
this test file.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-14 22:43:22 +01:00
Doug Davis
fba5dc8922
Merge pull request #123 from vdemeester/volume-inspect-test
...
Add Unit test on VolumeInspect (and fix IsErrVolumeNotFound)
2016-03-14 07:35:33 -04:00
David Calavera
0d4709f511
Merge pull request #119 from mrunalp/cgroup_container
...
Add types to support joining cgroups by container id
2016-03-08 14:20:58 -08:00
David Calavera
e888df3686
Merge pull request #128 from darrenstahlmsft/WindowsCPUResourceControl
...
Add CPU resource control for Windows
2016-03-08 14:20:30 -08:00
David Calavera
075a1feac7
Merge pull request #140 from stevvooe/plumb-context
...
client: plumb net/context.Context through entire API
2016-03-08 14:20:01 -08:00
Stephen J Day
002fcc738c
client: plumb net/context.Context through entire API
...
In general, `net/context.Context` should be the first argument to
methods that may be on a request call chain. While some API methods had
context, many did not, making support inconsistent. Applications that
require full plumbing of context, such as those that rely on
cancellation for resource cleanup, would be incompatible with
inconsistent plumbing. The change takes a first pass at adding context
through the entire API.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-03-08 13:30:37 -08:00
David Calavera
9bab0d5b73
Merge pull request #133 from WeiZhang555/move-rm-to-daemon
...
Add `AutoRemove` into HostConfig
2016-03-08 11:34:31 -08:00
David Calavera
34b4bdb6ab
Merge pull request #141 from stevvooe/unnecessary-dry
...
client: remove need for "test" tag to run tests
2016-03-08 11:32:05 -08:00
Stephen J Day
825992b8b2
client: remove need for "test" tag to run tests
...
Because client tests imported a test file from another package, `go
test` would not work without adding `-tags=test`. This is not the
correct invocation for regularly testing Go code and breaks simple runs
of `go test` working for the package. This moves the transport mock into
the package that actually uses it. Now, `go test` works properly in the
client package.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-03-07 20:59:26 -08:00
Doug Davis
8193a3a11c
Merge pull request #132 from vdemeester/network-disconnect-test
...
Add unit test for NetworkDisconnect
2016-03-07 17:45:52 -05:00
Doug Davis
4f9b0068be
Merge pull request #135 from vdemeester/network-inspect-test
...
Add unit test to NetworkInspect
2016-03-07 17:40:24 -05:00
Vincent Demeester
135ce34b90
Add unit test to NetworkInspect
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-07 18:44:17 +01:00
Vincent Demeester
d4fb383152
Merge pull request #134 from gesellix/patch-1
...
Fix typos in comments
2016-03-07 07:57:58 +01:00
Tobias Gesellchen
04a27535c4
Fix typos in comments
...
Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
2016-03-07 01:11:17 +01:00
Zhang Wei
3eaa55e3e6
Add `AutoRemove` into HostConfig
...
Docker will move `--rm` flag from client side to daemon side, this
demands HostConfig should have a flag for `--rm`.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2016-03-06 23:18:37 +08:00
Vincent Demeester
9d53dc5b7a
Add unit test for NetworkDisconnect
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-06 12:35:26 +01:00
Vincent Demeester
12b79efa41
Merge pull request #127 from jstarks/default_to_npipe
...
Windows: Default to npipe transport
2016-03-04 23:05:49 +01:00
David Calavera
7ceade06ea
Merge pull request #108 from dmcgowan/registry-token-auth
...
Add support for getting token from login
2016-03-04 13:12:55 -08:00
David Calavera
bce8bdc120
Merge pull request #113 from darrenstahlmsft/RemoveDeadCode
...
Removing dead code duplicated in docker/docker
2016-03-04 11:48:00 -08:00
Vincent Demeester
fda194b9ef
Add Unit test on VolumeInspect
...
… and fix IsErrVolumeNotFound
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-03-04 14:43:06 +01:00
Darren Stahl
17283993b7
Add CPU resource control for Windows
...
Signed-off-by: Darren Stahl <darst@microsoft.com>
2016-03-03 13:25:16 -08:00
John Starks
7e7c155f15
Windows: Default to npipe transport
...
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-03-03 12:13:14 -08:00