Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Unix socket adapter bug with double slash in path + regression testfix_647 | Joffrey F | 2015-06-30 | 1 | -2/+7 |
| | |||||
* | Merge branch 'id-resolution-in-check-resource' of ↵ | Joffrey F | 2015-06-30 | 1 | -18/+20 |
|\ | | | | | | | https://github.com/posita/docker-py into posita-id-resolution-in-check-resource | ||||
| * | Move image/container ID resolution to @check_resource decorator. | Matt Bogosian | 2015-05-20 | 1 | -18/+20 |
| | | |||||
* | | Fix stop timeout bugfix_649 | Joffrey F | 2015-06-24 | 1 | -0/+5 |
| | | |||||
* | | Merge branch 'allow-any-mode' of https://github.com/aanand/docker-py into ↵ | Joffrey F | 2015-06-18 | 1 | -0/+47 |
|\ \ | | | | | | | | | | aanand-allow-any-mode | ||||
| * | | Allow any mode string to be passed into a volume bind | Aanand Prasad | 2015-06-05 | 1 | -0/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | Volume binds now take a "mode" key, whose value can be any string. "ro" is still supported. It is an error to specify both "ro" and "mode". Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | | | Bumped default API version == 1.19 | Joffrey F | 2015-06-18 | 1 | -1/+1 |
| | | | |||||
* | | | Add volume_driver param to client.create_container | Luke Marsden | 2015-06-18 | 1 | -0/+31 |
| | | | | | | | | | | | | | | | | | | | | | - Add appropriate test which also asserts that volume names can be passed through to drivers. - Add new param to docs. Signed-off-by: Luke Marsden <luke@clusterhq.com> | ||||
* | | | Fixed integration test | Joffrey F | 2015-06-18 | 1 | -1/+1 |
| | | | |||||
* | | | Allow binds to be specified as a list of strings | Aanand Prasad | 2015-06-12 | 1 | -0/+30 |
|/ / | | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | | Merge pull request #562 from smothiki/mems | Joffrey F | 2015-05-20 | 1 | -1/+7 |
|\ \ | |/ |/| | make memory units compatible with native docker cli | ||||
| * | make memory units compatible with native docker cli | smothiki | 2015-05-07 | 1 | -1/+7 |
| | | | | | | | | Signed-off-by: sivaram mothiki <smothiki@engineyard.com> | ||||
* | | Separate check_resource inspect tests | Joffrey F | 2015-05-20 | 1 | -13/+20 |
| | | |||||
* | | Fix #602. Raise ValueError on empty argument to inspect_{container,image}() ↵ | Matt Bogosian | 2015-05-17 | 1 | -0/+12 |
| | | | | | | | | methods. | ||||
* | | Merge pull request #593 from docker/deprecate_start_hostconfig | Joffrey F | 2015-05-08 | 2 | -501/+186 |
|\ \ | | | | | | | Deprecate start hostconfig | ||||
| * | | Added deprecation warning for host config in start | Joffrey F | 2015-05-08 | 2 | -501/+186 |
| |/ | |||||
* | | unit testcpusetcpus | Joffrey F | 2015-05-08 | 1 | -0/+1 |
|/ | |||||
* | Fixes for #586 | Joffrey F | 2015-05-06 | 1 | -0/+2 |
| | |||||
* | exec_resize is incorrectly passing param as json | Xiaojian Huang | 2015-04-28 | 1 | -16/+4 |
| | |||||
* | Fix #573 | Joffrey F | 2015-04-28 | 1 | -2/+8 |
| | |||||
* | Added unit tests for container limits in build | Joffrey F | 2015-04-27 | 1 | -0/+19 |
| | |||||
* | * Separate file to store constants | Joffrey F | 2015-04-27 | 1 | -69/+71 |
| | | | | * Added container_limits param to Client.build | ||||
* | Updated exec API documentationexec_rework | Joffrey F | 2015-04-27 | 1 | -1/+0 |
| | |||||
* | Exec API tests | Joffrey F | 2015-04-27 | 3 | -27/+147 |
| | |||||
* | Added check_resource decorator to interrupt command if container or image ↵ | Joffrey F | 2015-04-24 | 1 | -0/+15 |
| | | | | argument is None | ||||
* | Added tests for log_config paramlogconfig-support | Joffrey F | 2015-04-24 | 2 | -2/+47 |
| | |||||
* | Handle ID truncate on client side in containers list (and changed default ↵client_side_trunc | Joffrey F | 2015-04-22 | 2 | -5/+9 |
| | | | | from True to False) | ||||
* | revert | Joffrey F | 2015-04-22 | 1 | -6/+0 |
| | |||||
* | Added integration test | Joffrey F | 2015-04-22 | 2 | -0/+35 |
| | |||||
* | Improved ulimit tests | Joffrey F | 2015-04-22 | 2 | -1/+26 |
| | |||||
* | assertRaises 2.6 compat | Joffrey F | 2015-04-22 | 1 | -6/+3 |
| | |||||
* | Add tests for ulimits | Joffrey F | 2015-04-22 | 1 | -4/+34 |
| | |||||
* | BaseTestCase shims assertIn | Joffrey F | 2015-04-22 | 2 | -2/+14 |
| | |||||
* | Merge branch 'sam/import-improvements' of ↵ | Joffrey F | 2015-04-22 | 3 | -16/+177 |
|\ | | | | | | | | | | | | | | | | | https://github.com/ssssam/docker-py into ssssam-sam/import-improvements Conflicts: docker/client.py docker/unixconn/unixconn.py tests/integration_test.py | ||||
| * | Add integration tests for Client.import_image() function | Sam Thursfield | 2015-01-05 | 1 | -2/+160 |
| | | | | | | | | | | | | Currently TestImportFromStream fails, because something is going wrong with the HTTP chunked transfer-encoding. This didn't work before, either (for a different reason). | ||||
| * | Rewrite Client.import_image() and add less-magical versions | Sam Thursfield | 2015-01-05 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than have one function that can do 5 things and attempts to guess what the user wanted, it's good to have a function for each possible method of importing an image. Error cases are handled a lot better this way. The unit test test_import_image_from_file() was changed to be test_import_image_from_bytes(), because if we try to import a temporary file in the test, the 'data' parameter of the 'fake_request' object is an instance of a funny internal type like <_io.BufferedReader name='/tmp/tmpc9chux'> and it's very hard to match such a thing with `mock.assert_called_with()`. | ||||
| * | Rework Unix connection code so that 'chunked' transfers work | Sam Thursfield | 2015-01-05 | 2 | -5/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows streaming a system to the 'import' command, rather than having to read the whole thing into memory before sending it. Previously both the UnixAdapter and the docker.Client objects would track the 'base URL' of the Docker daemon (socket path in the case of local Unix-domain socket connections). The Client object would construct URLs which contained the path to the socket with the path of the Docker API call appended. The UnixHTTPConnection instance would then remove the known socket path from the URL. This relied on all calls going through the HTTPConnection.request() function, where the URL could be rewritten. In the case of 'chunked' HTTP POST requests this doesn't happen, so such calls would request a path still including the socket path and would receive a 404 error. The client now constructs URLs containing just the path of the desired API endpoint, and expects the Unix socket transport to know the path to the Docker daemon's socket. | ||||
* | | line length | Yuval Kohavi | 2015-04-11 | 1 | -3/+8 |
| | | | | | | | | Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com> | ||||
* | | python 2.6 compatible | Yuval Kohavi | 2015-04-11 | 1 | -6/+3 |
| | | | | | | | | Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com> | ||||
* | | Adding port utils to split port ranges | Yuval Kohavi | 2015-04-03 | 1 | -0/+95 |
| | | | | | | | | Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com> | ||||
* | | Use assertRaises in a backward compatible fashion | Joffrey F | 2015-03-25 | 1 | -2/+4 |
| | | |||||
* | | Added assertIn shim for py2.6 | Joffrey F | 2015-03-25 | 1 | -0/+5 |
| | | |||||
* | | docs and unit test for security_opt | Joffrey F | 2015-03-25 | 1 | -0/+13 |
| | | |||||
* | | Finish labels implementation, add tests and docs | Aanand Prasad | 2015-03-20 | 1 | -0/+48 |
| | | | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | | Update default API version to 1.18 | Aanand Prasad | 2015-03-20 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | | Fix unit tests | Joffrey F | 2015-03-05 | 1 | -1/+2 |
| | | |||||
* | | Auto-detect integration tests | Joffrey F | 2015-03-05 | 1 | -0/+22 |
| | | |||||
* | | detect server version when version="auto" | Tomas Tomecek | 2015-03-05 | 2 | -1/+27 |
| | | | | | | | | | | | | heavily inspired by PR#281 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> | ||||
* | | Properly close files and sockets in unit tests | Roman Mohr | 2015-02-28 | 1 | -32/+31 |
| | | |||||
* | | Merge pull request #502 from cpuguy83/498_dockerignore_special_names | Joffrey F | 2015-02-27 | 1 | -0/+4 |
|\ \ | | | | | | | Add special cases for .dockerignore |