Commit Graph

459 Commits

Author SHA1 Message Date
Joffrey F fb11abc8c6 Merge pull request #236 from rail44/feature-support-get-and-load-image
Support get and load image
2014-06-17 02:24:30 +02:00
Joffrey F 2aa0526a84 Merge pull request #206 from samriley/master
Fix joining of unicode and byte strings in python3
2014-06-17 02:22:59 +02:00
Satoshi Amemiya 9461035d49 Support get and load image 2014-06-02 16:41:52 +09:00
Sam Riley d34b78aac5 Fix joining of unicode and byte strings in python3.
Check logs response in unit tests, and fix log integration tests for
py3.
2014-06-01 09:01:42 +01:00
Joffrey F 3dd8d9eb90 Merge pull request #233 from dotcloud/api_1.10
remove_image and remove_container : new params
2014-05-27 17:05:05 -07:00
Joffrey F c2b259009a Updated unit tests 2014-05-28 02:03:10 +02:00
Joffrey F 1ee14a1538 Updated remove_image and remove_container with new params added in 1.10 2014-05-28 01:57:59 +02:00
Joffrey F 02f8c5ced0 Merge pull request #232 from dotcloud/legacy_volume_binds
Avoid version duplication
2014-05-27 16:45:19 -07:00
Joffrey F 1f09848d6a pep8 fix 2014-05-28 01:42:31 +02:00
Joffrey F b629f9d7ec Merge pull request #231 from dotcloud/ping_support
Added Client.ping() method
2014-05-27 16:36:14 -07:00
Joffrey F 1e8009b8de Merge pull request #230 from dotcloud/dns_search_support
Added dns_search parameter to client.start()
2014-05-27 16:35:30 -07:00
Joffrey F d0a448fc6e Added Client.ping() method 2014-05-28 01:31:42 +02:00
Joffrey F 78eac11e2f Merge pull request #222 from tutumcloud/logs_api_1.11
logs support for api v1.11 new endpoint
2014-05-27 16:21:22 -07:00
Joffrey F 39d2a81cf6 Added dns_search parameter to client.start() 2014-05-28 00:26:40 +02:00
Joffrey F 2b35f23cec Correct test requirements in setup.py 2014-05-24 01:54:36 +02:00
Joffrey F 494c340c49 Avoid version duplication 2014-05-24 01:51:50 +02:00
Maxime Petazzoni 55b93d676b Merge pull request #210 from aanand/universally-compatible-chunking
Universally-compatible reading of chunked streams
2014-05-21 11:06:23 -07:00
Joffrey F 97c9de0203 Merge pull request #221 from tutumcloud/memoryswap
memory swap limit support
2014-05-13 21:30:41 +02:00
Joffrey F 1b574598e0 Merge pull request #224 from discordianfish/add-hostconfig-net
Add NetMode to hostConfig in start
2014-05-13 21:28:58 +02:00
Johannes 'fish' Ziemke 2d58351164 Add NetMode to hostConfig in start 2014-05-13 21:23:01 +02:00
Joffrey F e90f86e2c6 Merge pull request #223 from dotcloud/legacy_volume_binds
Legacy volume binds
2014-05-13 20:32:14 +02:00
Joffrey F f9c84cbe9f pep8 fix 2014-05-13 17:58:22 +02:00
Joffrey F 92c9a89f09 naming 2014-05-12 21:36:41 +02:00
Joffrey F 3959747620 Support for legacy volume binds (ansible compat) 2014-05-12 21:32:01 +02:00
Bernardo 36cd14e964 logs support for api v1.11 new endpoint 2014-05-12 15:15:04 -04:00
Bernardo 5c208a317f memswap_limit parameter in create_container added to the Readme file 2014-05-12 08:56:23 -04:00
Bernardo 7497daf34a memory swap limit support 2014-05-11 17:45:15 -04:00
Maxime Petazzoni 63f50eec69 Set version to 0.3.2-dev. Fixes #216.
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2014-04-29 11:51:45 -07:00
Joffrey F 9bb292bcbd Merge pull request #209 from tarnfeld/feature/build-context
Added ability to specify the full build context
2014-04-28 20:51:46 +02:00
Joffrey F 3ff1f1ed4b Merge pull request #200 from ticosax/move-dns-and-volumes-from
From api 1.10 dns and volumes_from should be passed to start()
2014-04-28 20:49:45 +02:00
Nicolas Delaby 88ee38b7dd Raise DockerException instead of TypeError 2014-04-28 20:22:11 +02:00
Maxime Petazzoni 0d2be16363 Merge pull request #215 from aanand/fix-integration-test-regression
Fix integration test regression
2014-04-28 10:11:25 -07:00
Maxime Petazzoni 99ef978f09 Merge pull request #213 from rutsky/remove_websocket_from_py3
Don't require websocket-client on Python 3
2014-04-28 10:10:45 -07:00
Aanand Prasad 073fdaf671 Universally-compatible reading of chunked streams
Docker introduced newlines in stream output in version 0.9
(https://github.com/dotcloud/docker/pull/4276), but not to all
endpoints - POST /images/create, for example, does not include them.

This reverts to the old, less pleasant implementation of
_stream_helper(), with a manual check for newlines to fix the problem
described in #176 and fixed in #184, without the accompanying
regression. It should work against Docker 0.8, 0.9 and 0.10, both when
building and when pulling.
2014-04-28 17:22:14 +01:00
Aanand Prasad fdd39a85cc Fix integration test regression
The test for starting a container with volume binds hadn't been updated
to use the new dictionary structure for the `binds` argument.
2014-04-28 17:18:39 +01:00
Vladimir Rutsky 8f35ff858a Don't require websocket-client on Python 3 2014-04-27 22:07:17 +04:00
Nicolas Delaby 380d7e8620 volumes_from is now a list from v.1.10 2014-04-24 12:19:05 +02:00
Nicolas Delaby ce782e190f Update documentation to reflect modification for `dns` and `volumes_from` 2014-04-24 09:15:48 +02:00
Nicolas Delaby 9858937829 Warn if user is using argument that will be ignored 2014-04-24 09:14:03 +02:00
Nicolas Delaby 842c40f1bd raise instead of warn
because user must know its code will not behave as expected
if used against version >= v1.10.
2014-04-24 09:11:11 +02:00
Nicolas Delaby c42104cd69 Do not ignore falsy values
If user pass empty strings or empty lists,
the deprecation policy will be ignored.

Check instead if those arguments are not the default.
2014-04-24 09:08:44 +02:00
Tom Arnfeld e012d31752 Line to long... 2014-04-23 21:59:12 +01:00
Tom Arnfeld 81023578f5 Re-format if/else 2014-04-23 20:32:44 +01:00
Joffrey F 73434476b3 Merge pull request #211 from aanand/relative-errors-imports
Relative 'errors' imports, for consistency
2014-04-23 19:54:46 +02:00
Joffrey F 6c1f7f3e97 Merge pull request #198 from fcoelho/fix-volumes-from
Sanitize create_container input for volumes_from
2014-04-23 19:47:07 +02:00
Aanand Prasad 918ca7dddb Relative 'errors' imports, for consistency 2014-04-23 18:15:00 +01:00
Tom Arnfeld 8acff57f6a Added test for gzip compressed tar 2014-04-23 13:42:05 +01:00
Tom Arnfeld 45ef4ab931 Fix for pep8 failures 2014-04-23 13:36:36 +01:00
Tom Arnfeld 28eb629c87 Error with headers being NoneType 2014-04-23 13:24:14 +01:00
Tom Arnfeld 8983fa561c Added ability to specify the full build context 2014-04-23 13:18:50 +01:00