Commit Graph

733 Commits

Author SHA1 Message Date
Joffrey F 4d3e7eb1cb Merge branch 'master' of https://github.com/rmohr/docker-py into rmohr-master 2015-01-08 16:23:21 -08:00
Joffrey F 7a623c4019 Prioritize system-installed urllib3 over requests vendored urllib3. 2015-01-08 16:12:28 -08:00
Joffrey F 09ea71971c Fix for issue #443 2015-01-08 15:57:44 -08:00
Joffrey F 4f6bbfd0cf Merge branch 'master' of github.com:docker/docker-py 2015-01-08 15:40:30 -08:00
Joffrey F e81ca4ec02 Bump version back to dev 2015-01-08 15:40:20 -08:00
Joffrey F ac6ff5cf0a Merge pull request #453 from kkleidal/registry_auth
removed exception thrown if registry.hub.docker.com is explicitly define...
2015-01-08 11:06:15 -08:00
Ken Leidal 5baa5e4883 removed exception thrown if registry.hub.docker.com is explicitly defined in repository param for client.pull 2015-01-08 13:59:19 -05:00
Joffrey F 6a63cb2c96 Update mkdocs.yml 2014-12-27 23:31:58 -08:00
Roman Mohr 2d34c38c4d Keep unix socket alive with python3 2014-12-21 11:42:41 +01:00
Joffrey F 9b166eea75 Merge pull request #436 from docker/0.7.0-release
0.7.0 release
2014-12-19 09:38:43 -08:00
Joffrey F 2218dbaa67 Use create_host_config in start (unifying parameter processing) 2014-12-18 18:03:27 -08:00
Joffrey F 53d61a77b6 Improved integration tests to run on python3 and close sessions after in tearDown phase 2014-12-18 17:46:41 -08:00
Joffrey F ee53c2d465 Fix create_container environment parameter for python3 2014-12-18 17:44:09 -08:00
Joffrey F 0ec70a2b08 Updated documentation 2014-12-18 11:20:31 -08:00
Joffrey F 29c67c3a05 Added support for extra_hosts in create_host_config 2014-12-18 11:20:31 -08:00
Joffrey F f2ad888ee6 Updated changelog 2014-12-18 11:20:31 -08:00
Joffrey F 6d6583141e Bumped version 2014-12-18 11:20:31 -08:00
Joffrey F 53beba75f4 Merge pull request #427 from abanna/adding_multiple_dockercfg_support
adding the ability to login with different dockercfg files.
2014-12-18 10:39:59 -08:00
Joffrey F 96f66f7558 Merge pull request #435 from dims/fix-flake8-issues
flake8 fails with F821 for unicode under python 3.4.2
2014-12-18 10:33:40 -08:00
abanna 6dfae8bcd2 updated parameter name to make more sense. 2014-12-18 10:21:02 -08:00
abanna d3cf874938 missed a lint error 2014-12-18 10:21:02 -08:00
Alex Banna 4cbf4e312c adding the ability to login with different dockercfg files. 2014-12-18 10:19:40 -08:00
Joffrey F d7a9d9a935 Merge pull request #432 from leth/fix_test_race
Tidy up stream test harness & fix race conditions
2014-12-18 10:18:45 -08:00
Davanum Srinivas d9fa43a9b7 flake8 fails with F821 for unicode under python 3.4.2 2014-12-18 11:08:37 -05:00
Marcus Cobden 17c1869304 Tidy up stream test harness & fix race conditions 2014-12-18 09:23:21 +00:00
Joffrey F 8aded4842b Retry on connection error 2014-12-17 12:55:49 -08:00
Joffrey F f75afc92a2 Use unicode() typecast instead of u'' literal (3.2 compat). Fixes #408 2014-12-17 12:07:35 -08:00
Joffrey F 16379f85c1 Merge branch 'leth-master' 2014-12-17 11:57:23 -08:00
Joffrey F b1e0ca0bd6 Merge branch 'master' of https://github.com/leth/docker-py into leth-master
Conflicts:
	tests/test.py
2014-12-17 11:56:58 -08:00
Joffrey F ec5a28a46e Merge pull request #428 from docker/host_config
Support for host config
2014-12-17 11:50:31 -08:00
Joffrey F 5711ac4cf3 Updated documentation with HostConfig information 2014-12-17 11:48:39 -08:00
Joffrey F 2b5516afab Re-added integration tests with hostconfig in start 2014-12-17 11:44:52 -08:00
Joffrey F 12aad176b9 Re-added start with hostconfig tests 2014-12-17 11:44:52 -08:00
Joffrey F f07524f2db Un-deprecated hostconfig in start 2014-12-17 11:44:52 -08:00
Joffrey F c29a6a2841 Fixed start_container tests 2014-12-17 11:44:52 -08:00
Joffrey F e992a8127d assertEquals -> assertEqual 2014-12-17 11:44:51 -08:00
Joffrey F 66112561f4 Updated integration tests to use new host_config param 2014-12-17 11:44:51 -08:00
Joffrey F e1401c5573 Fixed VolumesFrom bug 2014-12-17 11:44:51 -08:00
Joffrey F 09a5eb8ae7 Prevent start_config from overriding host_config in create if no param is specified 2014-12-17 11:44:51 -08:00
Joffrey F 19b1379f17 Updated unit tests
* Warnings will now raise exceptions in unit tests
* Updated several tests to use host_config
2014-12-17 11:44:51 -08:00
Joffrey F b214406b38 Updated mock API version 2014-12-17 11:44:31 -08:00
Joffrey F c9f9157ea8 Added create_host_config helper in docker.utils 2014-12-17 11:44:31 -08:00
Joffrey F 7bc6b228b1 * create_container now supports a host_config param
* Deprecation warnings added in Client.start
2014-12-17 11:44:31 -08:00
Joffrey F f2ba7f9b9d Merge pull request #429 from dims/master
Devices should be separated by colon separated string
2014-12-17 11:32:58 -08:00
Joffrey F ae4f883c91 Merge pull request #430 from bfirsh/travis-docker
Run Travis tests on Docker
2014-12-17 10:27:03 -08:00
Ben Firshman f32550c058 Run Travis tests on Docker
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-17 09:20:57 -08:00
Davanum Srinivas 3a51d3fe0b Devices should be separated by colon separated string
Totally bad test :( (written by me). The documentation and
code should match now. Many thanks to pranavs18 for spotting
the error and proposing the fix.
2014-12-17 07:35:07 -05:00
Marcus Cobden 578dda64c9 Consume from chunked streams without data loss
Data already in local python buffers was lost when stream socket
fileobject was re-created. We now use http.client to handle the chunk
transfer encoding, and we read only the data from each chunk.

This adds a test harness for stream responses which tries to trigger the
lost-buffer behaviour by responding to the HTTP request in full, as
early as possible.

NB: Python's http.client will close the socket fileobj early if there is
no content length or chunked transfer encoding header. If this happens,
requests/urllib3 will reopen it, but we lose some data which was stored
in buffers.
2014-12-16 20:36:08 +00:00
Joffrey F a87dfcf267 Merge branch 'jseybold-master' 2014-12-15 17:35:02 -08:00
Joffrey F ec04e92c02 timeout param in wait documented 2014-12-15 17:34:51 -08:00