David Gageot
22cf29b2ee
FIX #639 and #510 find powershell.exe
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:36:41 +01:00
David Gageot
fa8fa69e7c
Wait for machine to start/stop
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:36:40 +01:00
David Gageot
8b31854a80
Extract the code to create a b2d disk image
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:36:40 +01:00
David Gageot
0c783976e0
Only get the IP of a running machine
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:36:40 +01:00
David Gageot
af87c000d2
Simplify commands
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:36:40 +01:00
David Gageot
a4995adbc7
Add comments
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:36:40 +01:00
David Gageot
7e7c83427a
VSwitch name should be saved to config.json
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:36:40 +01:00
David Gageot
40ab483a35
FIX #2457 Add a flag to set the CPU count
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:36:40 +01:00
Sebastiaan van Stijn
8022d1159d
Merge pull request #18874 from duglin/falseDocs
...
remove =false from options that default to false in the docs
2015-12-23 16:34:44 +01:00
Jean-Laurent de Morlhon
eeec362ba4
Merge pull request #2673 from dgageot/no-32bits-osx-linux
...
FIX #2271 don't build 32bits binaries for linux/osx
2015-12-23 16:25:45 +01:00
Jean-Laurent de Morlhon
5bb3d901b9
Merge pull request #2672 from dgageot/golang-1.5.2
...
FIX #2670 Upgrade to go 1.5.2
2015-12-23 16:19:58 +01:00
French Ben
14bdaf25db
Merge pull request #1319 from docker/fix-api
...
Updated API calls for 1.22 and electron IPC update
2015-12-23 10:15:47 -05:00
Doug Davis
e6115a6c1c
remove =false from options that default to false in the docs
...
This re-aligns the docs with what the cmd line now does.
Signed-off-by: Doug Davis <dug@us.ibm.com >
2015-12-23 07:11:35 -08:00
David Gageot
8e2ccd996c
FIX #2271 don't build 32bits binaries for linux/osx
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 16:09:17 +01:00
David Gageot
12a361c3bc
FIX #2670 Upgrade to go 1.5.2
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 15:49:33 +01:00
Jean-Laurent de Morlhon
1db7f13763
Merge pull request #2669 from dgageot/faster-ls
...
FIX #2663 reduce calls to the driver in ls
2015-12-23 14:50:08 +01:00
Sebastiaan van Stijn
4432a89821
Merge pull request #17782 from WeiZhang555/network-ls-nopre
...
Add filter for `network ls` to hide predefined network
2015-12-23 13:59:17 +01:00
David Gageot
670c4808ed
FIX #2663 reduce calls to the driver in ls
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 13:58:06 +01:00
David Gageot
6a5cc751bb
FIX #2232 Check that the user is an Administrator
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 12:04:44 +01:00
David Gageot
d5e11fb961
FIX #512 Check the virtual switch in PreCreateCheck()
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 12:04:39 +01:00
David Gageot
aa3a4e4498
Simplify code
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 11:38:51 +01:00
David Gageot
2311fd69c9
Format code
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 11:36:40 +01:00
David Gageot
19fc64d583
Remove redundant code
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-23 11:31:38 +01:00
Jean-Laurent de Morlhon
9f6764ccd3
Merge pull request #2666 from cvstebut/master
...
close handle on destination after copying boot2docker.iso into vm folder
2015-12-23 09:34:41 +01:00
Zhang Wei
26dd026bd7
Add filter for network ls to hide predefined net
...
Add filter support for `network ls` to hide predefined network,
then user can use "docker network rm `docker network ls -f type=custom`"
to delete a bundle of userdefined networks.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com >
2015-12-23 13:26:40 +08:00
Zhang Wei
1326f0cba5
Break big lock into some tiny locks
...
Don't involve code waiting for blocking channel in locked critical
section because it has potential risk of hanging forever.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com >
2015-12-23 13:23:23 +08:00
Ying Li
9573252ace
Add backwards-compatbility test for client reading-writing 0.1-style repos.
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 18:01:36 -08:00
Ying Li
0c54c6caef
Add an example of a 0.1 style repository for backwards compatibility tests
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 18:00:57 -08:00
Riyaz Faizullabhoy
9b0ae29427
ErrRepoNotInitialized test
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2015-12-22 16:53:31 -08:00
Riyaz Faizullabhoy
98b7dd7daf
fixes to notary for docker integration
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2015-12-22 16:53:31 -08:00
Ying Li
db9705dd97
Merge pull request #384 from docker/more-client-negative-tests
...
More client writing/publishing negative tests
2015-12-22 16:50:17 -08:00
Christian von Stebut
1cd6a37343
close handle on destination after copying boot2docker.iso into vm folder - will otherwise keep hyper-v from starting vm
...
Signed-off-by: Christian von Stebut <christian@von.stebut.org >
2015-12-23 01:34:56 +01:00
Ying Li
d1fa795f20
Merge pull request #382 from cyli/passphrase-tests
...
Add basic tests for passphrase retriever to make sure it handles delegations
2015-12-22 16:30:41 -08:00
Ying Li
2900423fa2
Minor error message changes
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 16:29:28 -08:00
Ying Li
9ca2200775
Update filestore to first remove existing metadata before setting metadata.
...
This would let it remove corrupt or bad-state metadata.
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 16:29:28 -08:00
Ying Li
332621607e
Add more comments and assertions as per review.
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 16:29:28 -08:00
Ying Li
6423c16233
Test pushing an uninitialized repo as well.
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 16:29:28 -08:00
Ying Li
ebac6b158a
Refactor tests to cover corrupt root/targets/delegations.
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 16:29:28 -08:00
Ying Li
ab97f9e12e
Refactor some of the code to reduce creating temp notary repo directory boilerplate.
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 16:23:19 -08:00
Ying Li
d6234e5ef0
Add some simple failure cases where data is corrupt or we can't get server keys.
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 16:23:19 -08:00
Ying Li
c1eb344b89
Rotation tests now test reading from other (non-publishing) clients.
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 16:23:19 -08:00
Daniel Nephin
b8659da214
Remove unused parser functions that were replaced by go-connections/nat.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-12-22 19:06:49 -05:00
Ying Li
8128026459
Merge pull request #385 from docker/client-delegation-write-tests
...
Add more delegation writing/publishing tests.
2015-12-22 16:01:55 -08:00
David Calavera
9fd2c0feb0
Make docker load to output json when the response content type is json.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
2015-12-22 19:00:27 -05:00
Daniel Nephin
fcc24995e0
Upgrade vendored github.com/docker/go-connections to latest version, which includes new nat parse functions.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-12-22 18:59:47 -05:00
Ying Li
f794193382
Address review comments (renaming, extra code left in, etc.)
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 15:32:05 -08:00
Victor Vieux
15a91b1c73
Merge pull request #1564 from vieux/fix_stable_tests
...
fix stable tests
2015-12-22 15:21:39 -08:00
Daniel Nephin
f015c29193
Move runconfig blkiodev options and parsing into runconfig/opts package.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-12-22 18:20:21 -05:00
French Ben
7a3f4780c9
Updated API calls for 1.9.1 and electron IPC update
...
Signed-off-by: French Ben <me+git@frenchben.com >
Signed-off-by: French Ben <me+git@frenchben.com >
2015-12-22 18:08:36 -05:00
Sebastiaan van Stijn
1105caa7f1
Merge pull request #18860 from dnephin/remove_migrate_if_downlevel
...
Remove migrateIfDownlevel and aufs migration from docker pre-0.7
2015-12-23 00:08:36 +01:00