Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use unicode() typecast instead of u'' literal (3.2 compat). Fixes #408 | Joffrey F | 2014-12-17 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'master' of https://github.com/leth/docker-py into leth-master | Joffrey F | 2014-12-17 | 1 | -0/+91 | |
|\ | | | | | | | | | Conflicts: tests/test.py | |||||
| * | Consume from chunked streams without data loss | Marcus Cobden | 2014-12-16 | 1 | -0/+91 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Re-added integration tests with hostconfig in start | Joffrey F | 2014-12-17 | 1 | -3/+162 | |
| | | ||||||
* | | Re-added start with hostconfig tests | Joffrey F | 2014-12-17 | 1 | -1/+241 | |
| | | ||||||
* | | Fixed start_container tests | Joffrey F | 2014-12-17 | 1 | -16/+6 | |
| | | ||||||
* | | assertEquals -> assertEqual | Joffrey F | 2014-12-17 | 1 | -5/+5 | |
| | | ||||||
* | | Updated integration tests to use new host_config param | Joffrey F | 2014-12-17 | 1 | -37/+52 | |
| | | ||||||
* | | Updated unit tests | Joffrey F | 2014-12-17 | 1 | -204/+221 | |
| | | | | | | | | | | * Warnings will now raise exceptions in unit tests * Updated several tests to use host_config | |||||
* | | Updated mock API version | Joffrey F | 2014-12-17 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #429 from dims/master | Joffrey F | 2014-12-17 | 1 | -4/+4 | |
|\ \ | |/ |/| | Devices should be separated by colon separated string | |||||
| * | Devices should be separated by colon separated string | Davanum Srinivas | 2014-12-17 | 1 | -4/+4 | |
| | | | | | | | | | | | | 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. | |||||
* | | Merge pull request #423 from docker/0.6.0-integration | Joffrey F | 2014-12-15 | 1 | -20/+15 | |
|\ \ | | | | | | | Fixed integration tests | |||||
| * | | Don't use old test image (deprecated ID scheme)0.6.0-integration | Joffrey F | 2014-12-15 | 1 | -14/+8 | |
| | | | ||||||
| * | | Better pull confirmation | Joffrey F | 2014-12-15 | 1 | -8/+6 | |
| | | | ||||||
| * | | Longer timeout when contacting hub | Joffrey F | 2014-12-15 | 1 | -0/+3 | |
| | | | ||||||
* | | | Allow for pull as an option to docker build | Derek Hammer | 2014-12-13 | 1 | -0/+14 | |
| |/ |/| | | | | | Signed-off-by: Derek Hammer <derek.r.hammer@gmail.com> | |||||
* | | Enforce passing string as version param in ctor393-enforce-str-version | Joffrey F | 2014-11-26 | 1 | -0/+11 | |
|/ | ||||||
* | Fixed integration test | Joffrey F | 2014-11-03 | 1 | -0/+2 | |
| | ||||||
* | Changed assertIn to assertTrue(... in ...) (2.6 support) | Joffrey F | 2014-11-03 | 1 | -3/+3 | |
| | ||||||
* | Merge branch 'filters' of github.com:irachex/docker-py into irachex-filters | Joffrey F | 2014-11-03 | 2 | -6/+32 | |
|\ | | | | | | | | | | | | | Conflicts: docker/utils/__init__.py docker/utils/utils.py tests/utils_test.py | |||||
| * | Add support for filtering images and containers | Huayi Zhang | 2014-10-05 | 2 | -1/+28 | |
| | | | | | | | | | | | | | | [`filters` is a json encoded value of the filters (a map[string][string]) to process on the images list. ][1] The tricky thing is that we must convert boolean value to string and any filter value to list to make a `map[string][string]` json format [1]: https://docs.docker.com/reference/api/docker_remote_api_v1.14/#list-images | |||||
* | | Merge branch 'feature_logs-tail' of github.com:totem/docker-py into ↵ | Joffrey F | 2014-10-30 | 2 | -0/+30 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | totem-feature_logs-tail Conflicts: docker/client.py tests/fake_api.py | |||||
| * | | Add support for tailing logs (introduced in API : v1.13) | sukrit007 | 2014-08-22 | 3 | -1/+31 | |
| | | | | | | | | | | | | Updated default version to v1.13 | |||||
* | | | Merge pull request #379 from tutumcloud/logs_tail | Joffrey F | 2014-10-30 | 1 | -3/+6 | |
|\ \ \ | | | | | | | | | Added tail behaviour to logs command, same as CLI v1.3 (latest) | |||||
| * | | | Added tail behaviour to logs command, same as CLI v1.3 (latest) | Alberto | 2014-10-27 | 1 | -3/+6 | |
| | |/ | |/| | ||||||
* | | | Merge pull request #324 from infoxchange/clear-unixconn-pool | Joffrey F | 2014-10-30 | 2 | -0/+26 | |
|\ \ \ | | | | | | | | | Clear UNIX connections pool to avoid ResourceWarnings | |||||
| * | | | Test resource warnings when using the client | Alexey Kotlyarov | 2014-09-22 | 2 | -0/+26 | |
| |/ / | ||||||
* | | | Merge pull request #360 from proppy/kwargs-from-env | Joffrey F | 2014-10-29 | 4 | -1/+31 | |
|\ \ \ | | | | | | | | | utils: add kwargs_from_env | |||||
| * | | | utils: add kwargs_from_env | Johan Euphrosine | 2014-10-29 | 4 | -1/+31 | |
| | | | | ||||||
* | | | | Merge branch 'pause-unpause' of github.com:phensley/docker-py into ↵ | Joffrey F | 2014-10-29 | 3 | -0/+63 | |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | phensley-pause-unpause Conflicts: README.md tests/integration_test.py tests/test.py | |||||
| * | | | Unit and integration tests for pause/unpause. | Patrick Hensley | 2014-10-04 | 3 | -0/+67 | |
| |/ / | ||||||
* | | | Merge branch 'support-devices' of github.com:dims/docker-py into ↵ | Joffrey F | 2014-10-29 | 1 | -0/+35 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | dims-support-devices Conflicts: README.md | |||||
| * | | | Ability to specify Host Devices during container start | Davanum Srinivas | 2014-10-24 | 1 | -0/+35 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command line and daemon started supporting --device parameter during docker start a while ago in the following commit: docker/docker@e855c4b Since the command line looks like this, --device=[] Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc) This patch allows a list of strings to be passed into the start() method and we parse out the 3 components just like in the above mentioned commit | |||||
* | | | Merge branch 'exec' of github.com:phensley/docker-py into phensley-exec | Joffrey F | 2014-10-29 | 3 | -1/+87 | |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: README.md | |||||
| * | | | Use shlex for exec string cmd, added integration testcase. | Patrick Hensley | 2014-10-22 | 1 | -2/+17 | |
| | | | | ||||||
| * | | | Fix typo in exec url. | Patrick Hensley | 2014-10-18 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Unit and integration tests for exec. | Patrick Hensley | 2014-10-17 | 3 | -1/+72 | |
| |/ / | ||||||
* | | | Merge pull request #306 from groundeffect/master | Joffrey F | 2014-10-29 | 1 | -0/+24 | |
|\ \ \ | | | | | | | | | Add support for 'cpuset' | |||||
| * | | | Added support for 'cpuset' | davy | 2014-08-27 | 1 | -0/+24 | |
| | | | | ||||||
* | | | | Remove accidental changes to integration_test.py | Søren Gjesse | 2014-10-21 | 1 | -37/+0 | |
| | | | | ||||||
* | | | | Add directories to the Docker context | Søren Gjesse | 2014-10-21 | 2 | -5/+73 | |
| |/ / |/| | | | | | | | | | | | | | | | | | | | | This change adds both files and directories to the tra-file for the Docker context. Previously only files where added. The context will now also contain empty directoryes and symlinks to directories. | |||||
* | | | Fixed integration tests | Joffrey F | 2014-09-08 | 1 | -6/+4 | |
| | | | ||||||
* | | | add support to add or drop capabilities | Christian Hammerl | 2014-09-04 | 1 | -0/+50 | |
| | | | ||||||
* | | | first cut of restart policy | Shreyas Karnik | 2014-08-26 | 2 | -8/+54 | |
|/ / | ||||||
* | | pep8 fix | Joffrey F | 2014-08-22 | 1 | -1/+3 | |
| | | ||||||
* | | Allow pushing a single tag. | Cameron Maske | 2014-08-22 | 1 | -0/+25 | |
| | | | | | | | | Closes #282 | |||||
* | | Merge pull request #291 from yograterol/master | Joffrey F | 2014-08-22 | 1 | -0/+25 | |
|\ \ | |/ |/| | Volumes parameter on create_container should be validated as string | |||||
| * | Create test for volume as string | Yohan Graterol | 2014-08-17 | 1 | -0/+25 | |
| | | ||||||
* | | Stop timeout should be added to the request timeout | Maxime Petazzoni | 2014-08-19 | 1 | -6/+9 | |
|/ | | | | | | | | | | | Using the max of the stop timeout and request timeout did not entirely make sure that a stop timeout greater than a request timeout wouldn't fail prematurely with a HTTPTimeout exception. The correct behavior is to add the timeouts together, as the stop timeout is understood to be part of the "request processing time". Any transport-level timeout thus comes in addition to that. Signed-off-by: Maxime Petazzoni <max@signalfuse.com> |