Daniel Nephin
f7100b2ef3
Change version check from engine version to api version.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-10-21 15:40:50 -04:00
Daniel Nephin
1bc3c97f2a
Make storage driver configurable in CI
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-10-21 15:26:44 -04:00
Phil Estes
94a16c81f4
Merge pull request #17245 from dhiltgen/discovery_tls
...
Wire up libnetwork with TLS discovery options
2015-10-21 15:20:24 -04:00
Olivier Gambier
a21e8f1892
Merge pull request #2043 from dgageot/report-virtual-box-errors
...
Report VirtualBox errors
2015-10-21 12:19:54 -07:00
Diogo Monica
efb71c9ef1
Update gotuf
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-10-21 12:15:23 -07:00
Jonathan Lebon
4d41fe0b80
Makefile: don't allocate pseudo-tty if not interactive
...
In cases where we are running non-interactively (e.g. on Jenkins), we
shouldn't try to allocate a TTY, which would fail. This patch makes the
flag `-t` be dependent on whether the shell session is interactive or
not.
When it is interactive, it's important to have `-t` so that the user can
pass signals through to the process.
We also remove the DOCKER_RUN_DOCS and the GITCOMMIT variables, which
are no longer in use in this Makefile (seems like the related targets
that used it were migrated to docs/Makefile).
Signed-off-by: Jonathan Lebon <jlebon@redhat.com >
2015-10-21 15:10:55 -04:00
David Gageot
6bbec2df68
Report VirtualBox errors
...
Signed-off-by: David Gageot <david@gageot.net >
2015-10-21 21:03:51 +02:00
Nathan LeClaire
97fcc446d7
Merge pull request #2038 from dgageot/brownoxford-validate-cidr
...
Additional validation on virtualbox-hostonly-cidr
2015-10-21 11:54:48 -07:00
Tianon Gravi
39d47e8eea
Update "type auth.Challenge" comment example code
...
This interface was changed in a0fdfb9d4d , but the comment wasn't ever updated to match.
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com >
2015-10-21 11:54:13 -07:00
Mary Anthony
0cf8b761d7
Carrys and closes #1352
...
Pull the chmod line per reviewers
Signed-off-by: Mary Anthony <mary@docker.com >
2015-10-21 11:50:14 -07:00
David Calavera
8247eff8a8
Merge pull request #17213 from calavera/volume_driver_validate_name
...
Validate volume names for the local driver.
2015-10-21 11:48:54 -07:00
Chris Abernethy
6a7c8c2a25
Additional validation on virtualbox-hostonly-cidr
...
Check that the CIDR provided for a virtualbox host only CIDR is specified as a host IP and netmask, e.g., 192.168.100.1/24, and not a network IP and netmask, e.g., 192.168.100.0/24. This will help prevent confusion like #1383
Signed-off-by: Chris Abernethy <cabernet@chrisabernethy.com >
Signed-off-by: David Gageot <david@gageot.net >
2015-10-21 20:46:13 +02:00
Nathan LeClaire
56acdcf5ae
Merge pull request #2031 from hairyhenderson/check-vtx-darwin-1983
...
Adding support for darwin to IsVTXDisabled
2015-10-21 11:26:28 -07:00
David Calavera
678acbcb3f
Merge pull request #16992 from burke/fix-mqueue
...
Fix --ipc=host dependency on /dev/mqueue existing
2015-10-21 11:25:37 -07:00
Daniel Nephin
a7550e9e70
Support filtering networks by id or name.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-10-21 14:23:26 -04:00
Sebastiaan van Stijn
9f031f70ce
Merge pull request #17218 from vdemeester/17023-network-multiple-inspect
...
Add support for multiple network in inspect
2015-10-21 11:09:02 -07:00
Tibor Vass
6a7c38a57d
Merge pull request #16940 from coolljt0725/default_tls_host
...
Make default tls host work
2015-10-21 14:02:22 -04:00
Srini Brahmaroutu
dc813c7d13
Skipping two tests when running with GCCGO (CI)
...
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com >
2015-10-21 17:53:59 +00:00
Tibor Vass
10430fd334
Merge pull request #17179 from tonistiigi/17178-dont-overwrite-layer-checksum
...
Don’t overwrite layer checksum on push
2015-10-21 13:42:59 -04:00
Ying Li
412e0facc8
Explicitly check the skip tls verify boolean in notary client
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-10-21 10:38:48 -07:00
Sebastiaan van Stijn
492945235b
Merge pull request #17136 from gesellix/change-route-volume-create
...
rename `POST /volumes` to `POST /volumes/create`
2015-10-21 10:21:27 -07:00
Daniel Nephin
0fed5e6864
Use inspect network to query for an existing network.
...
And more tests for get_network()
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-10-21 13:05:14 -04:00
Daniel Hiltgen
10e7806984
Wire up libnetwork with TLS discovery options
...
This change exposes the TLS configuration settings to libnetwork so it can
communicate with a key/value store that has been set up with mutual TLS.
TLS options were introduced with https://github.com/docker/docker/pull/16644
Libnetwork support was introduced with https://github.com/docker/libnetwork/pull/602
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com >
2015-10-21 09:38:58 -07:00
Alessandro Boch
1be540b99b
Vendoring in libnetwork for the anonymous endpoint
...
- commit f3c8ebf46b890d4612c5d98e792280d13abdb761
Signed-off-by: Alessandro Boch <aboch@docker.com >
2015-10-21 09:32:48 -07:00
David Calavera
d6d60287ee
Move volume name validation to the local driver.
...
Delegate validation tasks to the volume drivers. It's up to them
to decide whether a name is valid or not.
Restrict volume names for the local driver to prevent creating
mount points outside docker's volumes directory.
Signed-off-by: David Calavera <david.calavera@gmail.com >
2015-10-21 12:28:26 -04:00
Olivier Gambier
62a28e1217
Merge pull request #2036 from dgageot/2020-better-message-when-vboxmanage-not-found
...
FIX #2020 Better error when vboxmanage is missing
2015-10-21 09:27:09 -07:00
Aaron Lehmann
4dce280d96
Fix layer compression regression
...
PR #15493 removed compression of layers when pushing them to a V2
registry. This this makes layer uploads larger than they should be.
This commit restores the compression. It uses an io.Pipe to turn the
gzip compressor output Writer into a Reader, so the ReadFrom method can
be used on the BlobWriter (which is very important for avoiding many
PATCH requests per layer).
Fixes #17209
Fixes #17038
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com >
2015-10-21 09:21:14 -07:00
mnowster
c34a9f165d
Merge pull request #2207 from dnephin/make_config_loader_immutable
...
Refactor of ServiceLoader to make it immutable
2015-10-21 17:14:40 +01:00
Daehyeok Mun
bb79b7eb9e
ProcessWord support UTF-8
...
modified PorcessWord to working normally for UTF-8 strings and added test cases
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com >
2015-10-21 10:10:10 -06:00
Tibor Vass
bb5551746b
Merge pull request #17229 from mavenugo/ds_fix
...
Fixing bootup inconsistencies due to invalid cluster-store config
2015-10-21 12:00:07 -04:00
Daniel Nephin
f290faf4ba
Minor refactor to use guard and replace instead of split+join
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-10-21 11:29:49 -04:00
Daniel Nephin
725088a18b
Force windows drives to be lowercase.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-10-21 11:29:49 -04:00
Jeremy Unruh
95c053c56b
docs: Add Netshare volume plugin to extend/plugins
...
Signed-off-by: Jeremy Unruh <jeremybunruh@gmail.com >
2015-10-21 08:28:37 -07:00
Daniel Nephin
b500fa2351
Refactor ServiceLoader to be immutable.
...
Mutable objects are harder to debug and harder to reason about. ServiceLoader was almost immutable. There was just a single function which set fields for a second function. Instead of mutating the object, we can pass those values as parameters to the next function.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-10-21 11:14:35 -04:00
Antonio Murdaca
f6577be1c9
graph: ensure _tmp dir is always removed
...
Also remove unused func `newTempFile` and prevent a possible deadlock
between pull_v2 `attemptIDReuse` and graph `register`
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
2015-10-21 17:13:45 +02:00
Antonio Murdaca
f9e81b40f4
daemon: faster image cache miss detection
...
Lookup the graph parent reference to detect a builder cache miss before
looping the whole graph image index to build a parent-children tree.
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
2015-10-21 17:13:45 +02:00
Antonio Murdaca
56f5e3459f
graph: add parent img refcount for faster rmi
...
also fix a typo in pkg/truncindex package comment
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
2015-10-21 17:13:45 +02:00
Antonio Murdaca
04ef69a1e9
integration-cli: docker_cli_build_test: check error before defer
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
2015-10-21 17:13:45 +02:00
Daniel Nephin
4505632274
Some minor style cleanup
...
- fixed a docstring to make it PEP257 compliant
- wrapped some long lines
- used a more specific error
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2015-10-21 11:13:00 -04:00
Mohammed Aaqib Ansari
e72f92cb99
Using checkers assert for integration-cli/docker_cli_export_import_test.go
...
Signed-off-by: Mohammed Aaqib Ansari <maaquib@gmail.com >
2015-10-21 08:57:20 -04:00
Alexandre Beslic
50671ab6f3
Integration test for regression with parallel docker run when specifying a port
...
Signed-off-by: Alexandre Beslic <abronan@docker.com >
2015-10-21 02:59:04 -07:00
mnowster
fb69391889
Merge pull request #2233 from dnephin/some_unit_test_cleanup
...
Cleanup some unit tests and whitespace
2015-10-21 10:39:28 +01:00
mnowster
44e1fc3a32
Merge pull request #2230 from dnephin/lowercase_windows_drive
...
Lowercase windows drive letter
2015-10-21 10:36:46 +01:00
David Gageot
38b7fe5013
FIX #2020 Better error when vboxmanage is missing
...
Signed-off-by: David Gageot <david@gageot.net >
2015-10-21 09:35:33 +02:00
Ying Li
9a8fbb5774
Exit the foreach loop if failure, so CI will fail on failed test
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-10-21 00:21:15 -07:00
Flavio Castelli
987718f24d
Add SUSE Enterprise Linux and openSUSE provision
...
Add support for SUSE Enterprise Linux and openSUSE.
Code revised to build against current master.
Signed-off-by: Flavio Castelli <fcastelli@suse.com >
2015-10-21 09:18:56 +02:00
Vincent Demeester
7af9f988ac
Add support for multiple network in inspect
...
To be consistent with other inspect command (on container and images),
add the possiblity to pass multiple network to the network inspect
commands.
`docker network inspect host bridge none` is possible now.
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2015-10-21 08:57:29 +02:00
David Lawrence
8a996f417a
updating godeps and notary for some syntax changes in gotuf brought on by golint
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-10-20 23:56:35 -07:00
David Lawrence
e6460330bd
fixing camel casing of func
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-10-20 21:45:30 -07:00
Ying Li
4e24d49ab2
Use the makefile targets for running the test in CircleCI. Push
...
coverage output to codecov.
Signed-off-by: Ying Li <ying.li@docker.com >
2015-10-20 21:07:24 -07:00