Commit Graph

980 Commits

Author SHA1 Message Date
Aanand Prasad b1a858a14d Update resolve_authconfig to bring it in line with Docker client
Instead of expanding the registry name we're looking for to a full URL,
strip entries in the authconfig down to just the hostname.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-02-27 13:10:20 +00:00
Joffrey F 8d2b71fa7e I suck at python 2015-02-26 17:54:19 -08:00
Joffrey F e255c10f57 Ensure integration tests work with LXC exec driver 2015-02-26 17:39:44 -08:00
Joffrey F 21cc9916fd Rename test fix to take into account docker/docker#11003 2015-02-26 17:16:36 -08:00
Brian Goff ce40730b42 Add special cases for .dockerignore
Fixes #498
Allowing `Dockerfile` and `.dockerignore` in the exclusion filter
completely breaks the build on docker < 1.5

In Docker 1.5 these entries are treated as special cases when included
in the .dockerignore and are still sent as part of the context. The
daemon ends up excluding them from any `ADD`, `COPY`, and cache
validation.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2015-02-24 15:48:51 -05:00
Scott Sanderson bf97ebb2ed BUG: Fix errors in Python 3 from JSON-decoding bytes. 2015-02-24 11:23:00 -05:00
Joffrey F 5ce02b9f14 Merge pull request #500 from dnephin/support_build_dockerfile
Add support for dockerfile
2015-02-23 10:14:49 -08:00
Daniel Nephin 0713488fac Resolves #497 - add support for dockerfile
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2015-02-20 21:20:21 -05:00
James Harris 1685bc4594 Add auth config to pull 2015-02-18 14:36:33 -07:00
Joffrey F d39da11679 Merge pull request #494 from tianon/fix-host-assumptions
Fix several DOCKER_HOST assumptions in integration_test.py
2015-02-16 18:40:29 -08:00
Joffrey F 5dace1114d Back to dev version 2015-02-16 18:38:29 -08:00
Tianon Gravi 7f49cf1279 Fix several DOCKER_HOST assumptions in integration_test.py 2015-02-16 16:42:34 -07:00
Joffrey F 7084802da2 Fix pep8 error 2015-02-16 10:56:08 -08:00
Joffrey F 35b694d678 Merge pull request #493 from docker/1.0.0-release
1.0.0 release
2015-02-16 10:53:06 -08:00
Joffrey F 0f1bd817ac 1.0.0 changelog 2015-02-12 16:14:30 -08:00
Joffrey F 2c60e67ddc Bumped version to 1.0.0 2015-02-12 16:14:17 -08:00
Joffrey F c02f0ab723 Formatting 2015-02-12 15:54:16 -08:00
Joffrey F 21bcf7723f Added api_version property 2015-02-12 15:36:50 -08:00
Joffrey F 81056e7c5f Remove unused code 2015-02-12 15:31:30 -08:00
Joffrey F ec642f3710 Merge pull request #492 from ggtools/json-stats
Add decode parameter to be able to the the stats as a dictionary
2015-02-12 13:36:27 -08:00
Christophe Labouisse 26e74c8cc4 Add decode parameter to be able to the the stats as a dictionary 2015-02-12 22:27:02 +01:00
Joffrey F 21e189c923 Merge branch 'nir0s-add-stats-api-support' 2015-02-12 13:17:04 -08:00
Joffrey F 1f1e399958 Don't modify changelog yet 2015-02-12 13:16:53 -08:00
Joffrey F 1a7e3a2d6d Merge branch 'add-stats-api-support' of https://github.com/nir0s/docker-py into nir0s-add-stats-api-support 2015-02-12 13:15:59 -08:00
Joffrey F 1565464ff0 Merge pull request #490 from nir0s/parallelize-tox-in-travis
split tests to different tox envs
2015-02-12 10:19:29 -08:00
nir0s c50795a08a minor 2015-02-12 10:01:42 +02:00
nir0s 893626142c docs fix 2015-02-12 09:58:56 +02:00
nir0s 0379bddeaa added version compliable check 2015-02-12 09:57:46 +02:00
nir0s bbc2121951 fixed docs 2015-02-12 09:49:45 +02:00
nir0s 52702f7da0 removed aggregation for now and added a unit test. also using stream_helper now 2015-02-12 09:48:33 +02:00
nir0s cd36ea9088 split tests to different tox envs 2015-02-12 09:25:49 +02:00
Joffrey F 59d52604b1 Merge pull request #488 from docker/memoryswap
Container config cleanup
2015-02-11 14:10:45 -08:00
Joffrey F 6ff362393c Merge pull request #487 from maxamillion/get-image-docs
added docs for get_image
2015-02-11 14:07:17 -08:00
Joffrey F 5f552fd55b Merge pull request #486 from nir0s/fix-old-style-string-formatting
Fix old style string formatting
2015-02-11 14:06:56 -08:00
Joffrey F e2233fcee1 * Moved _container_config to utils.create_container_config
* memswap_limit can now be provided as a string, similar to mem_limit
2015-02-11 14:02:21 -08:00
Joffrey F c5f4c7e7d2 Merge pull request #485 from docker/pid_mode
Support for PID mode
2015-02-11 13:20:34 -08:00
Adam Miller cd0b648137 added docs for get_image 2015-02-11 14:41:12 -06:00
nir0s dd1a6fc906 fixed string formatting in errors 2015-02-11 22:27:53 +02:00
nir0s ea2148ade1 fixes 2015-02-11 22:26:23 +02:00
nir0s 53b5ed2178 fixed string formatting in utils 2015-02-11 22:24:06 +02:00
Joffrey F cab37b604a pid_mode integration tests 2015-02-11 12:16:36 -08:00
Joffrey F db825d84a8 pid_mode documentation 2015-02-11 12:16:00 -08:00
Joffrey F af492c3057 Added support for pid_mode param 2015-02-11 12:15:39 -08:00
nir0s f402af551d added initial support for stats retrieval 2015-02-11 22:04:32 +02:00
Joffrey F 22dd8d78ea Merge pull request #480 from ggtools/events
Add missing options to the events command
2015-02-11 11:13:52 -08:00
Joffrey F 6a804ac391 Merge pull request #483 from docker/read_only_rootfs
read_only parameter
2015-02-11 11:13:43 -08:00
Christophe Labouisse ea28ebb5f1 Add a `decode` parameter to the events command
This will ensure compatibility with the previous versions of
docker-py.

Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:27:30 +01:00
Christophe Labouisse 9bd71b2d45 Add decoding to the events
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:27:23 +01:00
Christophe Labouisse 2bd21ad066 Fix flake8 issues
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:27:23 +01:00
Christophe Labouisse 53b1bb41ac Fix datetime issue with Python 2.6
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:25:59 +01:00