Joffrey F
a7689f3da8
Handle volume driver change error in config.
...
Assume version=1 if file is empty in get_config_version
Empty files are invalid anyway, so this simplifies the algorithm
somewhat.
https://github.com/docker/compose/pull/2421#discussion_r47223144
Don't leak version considerations in interpolation/service validation
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:22:13 -08:00
Joffrey F
f3a9533dc0
version no longer optional arg for process_config_file
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:21:54 -08:00
Joffrey F
661519ac1c
Only test latest version in CI script
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:21:53 -08:00
Joffrey F
ec5111f1c2
Volumes are now prefixed with the project name
...
When created through the compose file, volumes are prefixed
with the name of the project they belong to + underscore,
similarly to how containers are currently handled.
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:21:53 -08:00
Joffrey F
ecef5d37a7
Add v2 configuration tests
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:21:53 -08:00
Jess Frazelle
bc326800fd
Merge pull request #51 from thaJeztah/add-engine-api
...
Add engine-api
2016-01-05 15:14:20 -08:00
Joffrey F
df6877a277
Use newer docker-py version
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:09:39 -08:00
Joffrey F
abe145bbe7
Update config resolution to always use explicit version numbers
...
Also includes several bugfixes for resolution and validation.
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:09:39 -08:00
Joffrey F
b253efd8a7
Update docs to define and document new compose.yml file format
...
Add volume configuration reference section.
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:09:39 -08:00
Joffrey F
b4be7b870f
Add support for declaring named volumes in compose files
...
* Bump default API version to 1.21 (required for named volume management)
* Introduce new, versioned compose file format while maintaining support
for current (legacy) format
* Test updates to reflect changes made to the internal API
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:09:39 -08:00
Daniel Nephin
4bf2f8c4f9
Fix lookup of linked containers for API version 1.20
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2016-01-05 15:09:39 -08:00
Daniel Nephin
97fe2ee40c
Don't preserve host volumes on container recreate.
...
Fixes a regression after the API changed to use Mounts.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2016-01-05 15:09:39 -08:00
Daniel Nephin
c64b7cbb10
Ignore errors from API about not being able to kill a container.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2016-01-05 15:09:39 -08:00
Joffrey F
afab5c76ea
Update service volume tests to use mounts key
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:09:39 -08:00
Joffrey F
3bdcc9d954
Update service tests to use mounts instead of volumes
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2016-01-05 15:09:39 -08:00
Daniel Nephin
73de81b51c
Upgrade tests to use new Mounts in container inspect.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2016-01-05 15:09:39 -08:00
Sebastiaan van Stijn
4ac09ed78b
Add engine-api
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2016-01-06 00:02:59 +01:00
Dong Chen
52a7616d99
Add integration test for state machine.
...
Signed-off-by: Dong Chen <dongluo.chen@docker.com >
2016-01-05 14:59:30 -08:00
Sebastiaan van Stijn
7a15586f4f
Merge pull request #19056 from clintonskitson/docs-rexray_update
...
Updated docs for consolidated list of REX-Ray providers
2016-01-05 23:53:27 +01:00
Sebastiaan van Stijn
d9a3812656
Merge pull request #19077 from AvdN/patch-2
...
example cannot work, pip needs --requirement
2016-01-05 23:50:52 +01:00
Daniel Nephin
ad9011ed96
Don't warn when the container volume is specified as a compose option.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2016-01-05 17:30:27 -05:00
Phil Estes
55137c19f4
Merge pull request #16534 from cpuguy83/make_volume_drivers_responsible
...
Move responsibility of ls/inspect to volume driver
2016-01-05 17:29:51 -05:00
Richard Scothern
94347c8611
Remove tags referencing deleted manifests.
...
When a manifest is deleted by digest, look up the referenced tags in the tag
store and remove all associations.
Signed-off-by: Richard Scothern <richard.scothern@gmail.com >
2016-01-05 13:47:52 -08:00
David Calavera
b4e26a96da
Merge pull request #18752 from cpuguy83/fix_broken_pipe_error_on_download_abrt
...
Don't log EPIPE errors on client download abort
2016-01-05 13:34:57 -08:00
Brian Goff
d3eca4451d
Move responsibility of ls/inspect to volume driver
...
Makes `docker volume ls` and `docker volume inspect` ask the volume
drivers rather than only using what is cached locally.
Previously in order to use a volume from an external driver, one would
either have to use `docker volume create` or have a container that is
already using that volume for it to be visible to the other volume
API's.
For keeping uniqueness of volume names in the daemon, names are bound to
a driver on a first come first serve basis. If two drivers have a volume
with the same name, the first one is chosen, and a warning is logged
about the second one.
Adds 2 new methods to the plugin API, `List` and `Get`.
If a plugin does not implement these endpoints, a user will not be able
to find the specified volumes as well requests go through the drivers.
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2016-01-05 16:28:38 -05:00
Phil Estes
6c30931b06
Merge pull request #18889 from aaronlehmann/v1-fallback-pull-all-tags
...
Allow v1 protocol fallback when pulling all tags from a repository unknown to v2 registry
2016-01-05 16:20:04 -05:00
Stephen Day
74d719d83f
Merge pull request #1249 from k4leung4/print-error-msg
...
Print error for failed HTTP auth request.
2016-01-05 12:23:05 -08:00
Tibor Vass
df9a3d1005
Merge pull request #19092 from anusha-ragunathan/builder-rm-merge
...
Remove runconfig.Merge
2016-01-05 15:21:24 -05:00
Jessica Frazelle
941c9105e5
update
...
Signed-off-by: Jessica Frazelle <acidburn@docker.com >
2016-01-05 11:55:20 -08:00
David Calavera
acfd5eb947
Merge pull request #18977 from anusha-ragunathan/builder
...
Use ImageBuildOptions in builder.
2016-01-05 11:54:21 -08:00
Sebastiaan van Stijn
2b489450d7
Merge pull request #19102 from Microsoft/jjh/integ-daemon-stop
...
Windows CI: No integration daemon stop
2016-01-05 20:52:51 +01:00
Victor Vieux
8cb1733dc2
update all godeps
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2016-01-05 11:46:46 -08:00
Anusha Ragunathan
eb4ae8e28a
Remove runconfig.Merge
...
Merge was used by builder and daemon. With this commit, the builder
call has been inlined and the function moved to the daemon package,
which is the only other caller.
Signed-off-by: Anusha Ragunathan <anusha@docker.com >
2016-01-05 11:28:55 -08:00
Vincent Demeester
4f8d794c46
Merge pull request #19097 from albers/completion-daemon--cgroup-parent
...
bash completion for `docker daemon --cgroup-parent`
2016-01-05 19:56:51 +01:00
moxiegirl
180ff8d501
Merge pull request #19045 from wenchma/network_api_update
...
Update docker network api doc
2016-01-05 10:55:56 -08:00
John Howard
a3858873fa
Windows CI: No integration daemon stop
...
Signed-off-by: John Howard <jhoward@microsoft.com >
2016-01-05 10:52:59 -08:00
David Calavera
97bed96759
Merge pull request #19067 from jfrazelle/19029-volume-name
...
update volume name regex
2016-01-05 10:50:46 -08:00
David Calavera
50917521fc
Merge pull request #19094 from ReadmeCritic/master
...
Update README URLs based on HTTP redirects
2016-01-05 10:46:21 -08:00
David Calavera
9819a9db20
Merge pull request #19098 from albers/completion--isolation
...
bash completion for `--isolation`
2016-01-05 10:37:39 -08:00
Victor Vieux
2449a352ef
add unit test
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2016-01-05 10:31:47 -08:00
Victor Vieux
5daaecdaa1
do not save image affinity on reschedule
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2016-01-05 10:29:45 -08:00
Klaus Ma
cf78e799fd
address review comments
...
Signed-off-by: Klaus Ma <klaus.ma@outlook.com >
2016-01-05 13:18:51 -05:00
Michael Crosby
5aae5a5fae
Merge pull request #18399 from tonistiigi/migration-optimization
...
Migration optimizations
2016-01-05 10:11:56 -08:00
Anusha Ragunathan
5190794f1d
Use ImageBuildOptions in builder.
...
dockerfile.Config is almost redundant with ImageBuildOptions.
Unify the two so that the latter can be removed. This also
helps build's API endpoint code to be less dependent on package
dockerfile.
Signed-off-by: Anusha Ragunathan <anusha@docker.com >
2016-01-05 10:09:34 -08:00
Harald Albers
9e624d3250
bash completion for --isolation
...
Signed-off-by: Harald Albers <github@albersweb.de >
2016-01-05 09:59:29 -08:00
Klaus Ma
b68537cc20
correct code style & build error
...
Signed-off-by: Klaus Ma <klaus.ma@outlook.com >
2016-01-05 12:47:42 -05:00
Klaus Ma
a23ce43337
Add MESOS_OFFER_REFUSE_SECONDS environment configuration
...
Signed-off-by: Klaus Ma <klaus.ma@outlook.com >
2016-01-05 12:47:42 -05:00
David Gageot
8664af9f9b
Tell the user that Hyperv could cause VBox to fail
...
Signed-off-by: David Gageot <david@gageot.net >
2016-01-05 18:40:33 +01:00
Harald Albers
ce2cbde841
bash completion for docker daemon --cgroup-parent
...
Signed-off-by: Harald Albers <github@albersweb.de >
2016-01-05 09:29:37 -08:00
Justin Cormack
822c4f79ab
Allow the waitpid syscall
...
This version is sometimes used eg by glibc on x86
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-05 09:29:16 -08:00