Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | container limits documentationbuild_limits | Joffrey F | 2015-04-27 | 1 | -0/+6 |
| | |||||
* | 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 | 3 | -80/+93 |
| | | | | * Added container_limits param to Client.build | ||||
* | Merge pull request #568 from docker/exec_rework | Joffrey F | 2015-04-27 | 5 | -46/+236 |
|\ | | | | | Exec API rework | ||||
| * | Updated exec API documentationexec_rework | Joffrey F | 2015-04-27 | 3 | -17/+44 |
| | | |||||
| * | Exec API tests | Joffrey F | 2015-04-27 | 4 | -28/+148 |
| | | |||||
| * | Properly implement exec API | Joffrey F | 2015-04-27 | 1 | -5/+48 |
|/ | |||||
* | Merge pull request #564 from docker/check_resource_not_none | Joffrey F | 2015-04-27 | 5 | -5/+69 |
|\ | | | | | Added check_resource decorator | ||||
| * | Use custom Error class (inherits DockerException and ValueError)check_resource_not_none | Joffrey F | 2015-04-27 | 2 | -1/+8 |
| | | |||||
| * | Added check_resource decorator to interrupt command if container or image ↵ | Joffrey F | 2015-04-24 | 4 | -5/+62 |
| | | | | | | | | argument is None | ||||
* | | Merge pull request #566 from pahaz/patch-1 | Joffrey F | 2015-04-27 | 1 | -0/+2 |
|\ \ | |/ |/| | fix(client.py): unification the container argument for commit | ||||
| * | fix(client.py): unification the container argument | Pahaz Blinov | 2015-04-26 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #563 from docker/logconfig-support | Joffrey F | 2015-04-24 | 6 | -8/+118 |
|\ | | | | | Logconfig support | ||||
| * | Added tests for log_config paramlogconfig-support | Joffrey F | 2015-04-24 | 2 | -2/+47 |
| | | |||||
| * | Added log_config support in host config | Joffrey F | 2015-04-24 | 4 | -6/+71 |
| | | |||||
* | | v2 doesn't have a /_ping endpoint, use /v2/ instead. Fixes #549 | Joffrey F | 2015-04-24 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #555 from docker/client_side_trunc | Joffrey F | 2015-04-22 | 3 | -6/+13 |
|\ | | | | | Handle ID truncate on client side in containers list | ||||
| * | Handle ID truncate on client side in containers list (and changed default ↵client_side_trunc | Joffrey F | 2015-04-22 | 3 | -6/+13 |
| | | | | | | | | from True to False) | ||||
* | | Merge branch 'client_side_trunc' | Joffrey F | 2015-04-22 | 1 | -6/+0 |
|\ \ | |/ | |||||
| * | revert | Joffrey F | 2015-04-22 | 1 | -6/+0 |
|/ | |||||
* | Added integration test | Joffrey F | 2015-04-22 | 2 | -0/+35 |
| | |||||
* | Merge pull request #554 from docker/ulimit_support | Joffrey F | 2015-04-22 | 10 | -9/+145 |
|\ | | | | | ulimits support | ||||
| * | ulimits: Updated docsulimit_support | Joffrey F | 2015-04-22 | 2 | -0/+3 |
| | | |||||
| * | Improved ulimit tests | Joffrey F | 2015-04-22 | 2 | -1/+26 |
| | | |||||
| * | improved Ulimit class | Joffrey F | 2015-04-22 | 1 | -7/+22 |
| | | |||||
| * | assertRaises 2.6 compat | Joffrey F | 2015-04-22 | 1 | -6/+3 |
| | | |||||
| * | Add tests for ulimits | Joffrey F | 2015-04-22 | 1 | -4/+34 |
| | | |||||
| * | Add support for ulimits in host_config | Joffrey F | 2015-04-22 | 4 | -3/+57 |
| | | |||||
| * | BaseTestCase shims assertIn | Joffrey F | 2015-04-22 | 2 | -2/+14 |
|/ | |||||
* | Merge pull request #551 from docker/support_v2_private_registry | Joffrey F | 2015-04-22 | 3 | -3/+7 |
|\ | | | | | Modify expand_registry_url to support v2 private registries. | ||||
| * | Modify expand_registry_url to support v2 private registries.support_v2_private_registry | Joffrey F | 2015-04-22 | 3 | -3/+7 |
|/ | |||||
* | Merge branch 'ssssam-sam/import-improvements' | Joffrey F | 2015-04-22 | 6 | -69/+330 |
|\ | |||||
| * | Merge branch 'sam/import-improvements' of ↵ | Joffrey F | 2015-04-22 | 6 | -69/+330 |
| |\ |/ / | | | | | | | | | | | | | | | 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). | ||||
| * | docs: Add specific import_image() variants | Sam Thursfield | 2015-01-05 | 1 | -0/+42 |
| | | |||||
| * | Rewrite Client.import_image() and add less-magical versions | Sam Thursfield | 2015-01-05 | 2 | -27/+80 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()`. | ||||
| * | docs: Clarify import_image() docs | Sam Thursfield | 2015-01-05 | 1 | -7/+11 |
| | | |||||
| * | Rework Unix connection code so that 'chunked' transfers work | Sam Thursfield | 2015-01-05 | 4 | -31/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge branch 'hibooboo2-pull_auth' | Joffrey F | 2015-04-22 | 2 | -10/+17 |
|\ \ | |||||
| * | | Small docs clarification | Joffrey F | 2015-04-22 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch 'pull_auth' of https://github.com/hibooboo2/docker-py into ↵ | Joffrey F | 2015-04-22 | 2 | -10/+16 |
| |\ \ |/ / / | | | | | | | hibooboo2-pull_auth | ||||
| * | | Add auth config to pull | James Harris | 2015-02-18 | 2 | -10/+16 |
| | | | |||||
* | | | Merge branch 'luzfcb-patch-1' | Joffrey F | 2015-04-22 | 1 | -2/+5 |
|\ \ \ | |||||
| * \ \ | Merge branch 'patch-1' of https://github.com/luzfcb/docker-py into ↵ | Joffrey F | 2015-04-22 | 1 | -2/+5 |
| |\ \ \ |/ / / / | | | | | | | | | | | | | | | | | | | | | luzfcb-patch-1 Conflicts: setup.py | ||||
| * | | | added URL for this project in setup configuration | Fábio C. Barrionuevo da Luz | 2015-03-31 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge branch 'terminalmage-version_info' | Joffrey F | 2015-04-22 | 2 | -1/+2 |
|\ \ \ \ | |||||
| * | | | | Automatically generate version_info from version string | Joffrey F | 2015-04-22 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Merge branch 'version_info' of https://github.com/terminalmage/docker-py ↵ | Joffrey F | 2015-04-22 | 2 | -1/+2 |
| |\ \ \ \ |/ / / / / | | | | | | | | | | | into terminalmage-version_info | ||||
| * | | | | Add a version_info attribute | Erik Johnson | 2015-04-03 | 2 | -1/+2 |
| |/ / / | | | | | | | | | | | | | | | | | This makes comparing docker-py versions *much* easier. Having to account for the potential of a "-dev" suffix is a PITA. | ||||
* | | | | Merge pull request #530 from dlorenc/master | Joffrey F | 2015-04-22 | 2 | -2/+8 |
|\ \ \ \ | | | | | | | | | | | Add assert_fingerprint option. |