Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |||||
| * | | Add special cases for .dockerignore | Brian Goff | 2015-02-24 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | |||||
* | | | Merge pull request #509 from docker/lxc_driver_test_compat | Joffrey F | 2015-02-27 | 1 | -4/+16 | |
|\ \ \ | | | | | | | | | Lxc driver test compat | |||||
| * | | | I suck at pythonlxc_driver_test_compat | Joffrey F | 2015-02-26 | 1 | -5/+5 | |
| | | | | ||||||
| * | | | Ensure integration tests work with LXC exec driver | Joffrey F | 2015-02-26 | 1 | -4/+16 | |
| |/ / | ||||||
* | | | Merge pull request #508 from docker/de-i11003 | Joffrey F | 2015-02-27 | 1 | -1/+5 | |
|\ \ \ | | | | | | | | | Rename test fix to take into account docker/docker#11003 | |||||
| * | | | Rename test fix to take into account docker/docker#11003de-i11003 | Joffrey F | 2015-02-26 | 1 | -1/+5 | |
| |/ / | ||||||
* | | | Update resolve_authconfig to bring it in line with Docker client | Aanand Prasad | 2015-02-27 | 1 | -1/+11 | |
|/ / | | | | | | | | | | | | | 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> | |||||
* | | Resolves #497 - add support for dockerfile | Daniel Nephin | 2015-02-20 | 1 | -0/+6 | |
| | | | | | | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com> | |||||
* | | Fix several DOCKER_HOST assumptions in integration_test.py | Tianon Gravi | 2015-02-16 | 1 | -2/+2 | |
| | | ||||||
* | | Fix pep8 error1.0.0 | Joffrey F | 2015-02-16 | 1 | -2/+2 | |
| | | ||||||
* | | Formatting | Joffrey F | 2015-02-12 | 1 | -149/+129 | |
| | |