Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make build auth work with API versions < 1.19 toomoutten-fix-build-auth | Joffrey F | 2015-07-20 | 1 | -3/+8 |
| | |||||
* | Merge branch 'fix-build-auth' of https://github.com/moutten/docker-py into ↵ | Joffrey F | 2015-07-20 | 1 | -1/+1 |
|\ | | | | | | | moutten-fix-build-auth | ||||
| * | Switch to send full AuthConfig object for build action | Matt Outten | 2015-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | In order to support the docker API for version 1.7+, this command changes the way the `X-Registry-Config` header is sent when attempting to build an image. | ||||
* | | Use constant for deprecation message in auth.py | Joffrey F | 2015-07-20 | 1 | -3/+4 |
| | | |||||
* | | Stop pinging registries from the client | Aanand Prasad | 2015-07-20 | 1 | -6/+21 |
|/ | | | | | | | | | | | | | | | | | The daemon already pings the registry, so doing it on our end is redundant and error-prone. The `insecure_registry` argument to `push()`, `pull()` and `login()` has been deprecated - in the latter case, it wasn't being used anyway. The `insecure` argument to `docker.auth.resolve_repository_name()` has also been deprecated. `docker.utils.ping_registry()` has been deprecated. `docker.auth.expand_registry_url()` has been removed. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | Removed execute() method | Joffrey F | 2015-07-08 | 1 | -13/+0 |
| | |||||
* | Fix handling output from tty-enabled containers. | Dan O'Reilly | 2015-07-06 | 1 | -43/+3 |
| | | | | | | | | | | | | Treat output from TTY-enabled containers as raw streams, rather than as multiplexed streams. The docker API docs specify that tty-enabled containers don't multiplex. Also update tests to pass with these changes, and changed the code used to read raw streams to not read line-by-line, and to not skip empty lines. Addresses issue #630 Signed-off-by: Dan O'Reilly <oreilldf@gmail.com> | ||||
* | ClientBase class to extract utility methods and constructor and sanitize ↵clientbase_extraction | Joffrey F | 2015-07-01 | 1 | -227/+5 |
| | | | | Client class | ||||
* | Merge pull request #651 from docker/fix_647 | Joffrey F | 2015-06-30 | 1 | -3/+12 |
|\ | | | | | Fix adapter bug + regression test | ||||
| * | Fix Unix socket adapter bug with double slash in path + regression testfix_647 | Joffrey F | 2015-06-30 | 1 | -3/+12 |
| | | |||||
* | | Merge pull request #644 from docker/memory-memswap-hostconfig | Joffrey F | 2015-06-30 | 1 | -3/+3 |
|\ \ | |/ |/| | memory / memswap in hostconfig | ||||
| * | Moved mem_limit and memswap_limit to host_config for API version >= 1.19 | Joffrey F | 2015-06-19 | 1 | -3/+3 |
| | | |||||
* | | Added git@ as a valid prefix for remote build pathsfix_640 | Joffrey F | 2015-06-30 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'id-resolution-in-check-resource' of ↵ | Joffrey F | 2015-06-30 | 1 | -51/+0 |
|\ \ | | | | | | | | | | 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 | -51/+0 |
| | | | |||||
* | | | Fix stop timeout bugfix_649 | Joffrey F | 2015-06-24 | 1 | -1/+1 |
| | | | |||||
* | | | Updated websocket-client dependency to latest version (now supports python 3) | Joffrey F | 2015-06-19 | 1 | -7/+2 |
| |/ |/| | |||||
* | | Merge branch 'pullfix' of https://github.com/glogiotatidis/docker-py into ↵ | Joffrey F | 2015-06-19 | 1 | -1/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | glogiotatidis-pullfix Conflicts: docker/client.py | ||||
| * | | Fix pull parameter for docker server version < 1.7. | Giorgos Logiotatidis | 2015-06-01 | 1 | -0/+6 |
| | | | |||||
| * | | Set default value for pull to False on build(). Fixes 622. | Giorgos Logiotatidis | 2015-06-01 | 1 | -1/+1 |
| |/ | |||||
* | | Enforce consistent style for push and pull methods | Joffrey F | 2015-06-18 | 1 | -10/+13 |
| | | |||||
* | | Add and document a decode parameter for build | Philipp Möller | 2015-06-18 | 1 | -2/+3 |
| | | | | | | | | | | This makes the build method consistent with the events method and adds some convenience. | ||||
* | | Add raise_for_status check to push and pull methods | Bradley Cicenas | 2015-06-18 | 1 | -0/+4 |
| | | | | | | | | as underlying exceptions(such as push already in progress) will be hidden in the stream generator otherwise. | ||||
* | | Add volume_driver param to client.create_container | Luke Marsden | 2015-06-18 | 1 | -2/+3 |
|/ | | | | | | | - 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> | ||||
* | Only allow privileged exec_create for API version >= 1.19 | Joffrey F | 2015-05-20 | 1 | -2/+6 |
| | |||||
* | Merge branch 'privilege' of https://github.com/tonicbupt/docker-py into ↵ | Joffrey F | 2015-05-20 | 1 | -2/+3 |
|\ | | | | | | | tonicbupt-privilege | ||||
| * | add privilege for exec_create | tonic | 2015-05-08 | 1 | -2/+3 |
| | | |||||
* | | Fix #602. Raise ValueError on empty argument to inspect_{container,image}() ↵ | Matt Bogosian | 2015-05-17 | 1 | -0/+2 |
| | | | | | | | | methods. | ||||
* | | Fix the parameter mismatch | HackToday | 2015-05-12 | 1 | -1/+1 |
| | | | | | | | | Closes-Issue: #597 | ||||
* | | Fix typo in deprecated insert method. Fixes #595 | Maxime Petazzoni | 2015-05-11 | 1 | -1/+1 |
| | | | | | | s/fornat/format/ | ||||
* | | Added deprecation warning for host config in start | Joffrey F | 2015-05-08 | 1 | -0/+6 |
|/ | |||||
* | Bumped version | Joffrey F | 2015-05-04 | 1 | -1/+2 |
| | |||||
* | Merge pull request #576 from ctrlhxj/fix_exec_resize | Joffrey F | 2015-04-30 | 1 | -8/+5 |
|\ | | | | | exec_resize is incorrectly passing param as json | ||||
| * | exec_resize is incorrectly passing param as json | Xiaojian Huang | 2015-04-28 | 1 | -8/+5 |
| | | |||||
* | | Update client.py | Peter Mooshammer | 2015-04-29 | 1 | -1/+1 |
|/ | |||||
* | * Separate file to store constants | Joffrey F | 2015-04-27 | 1 | -11/+16 |
| | | | | * Added container_limits param to Client.build | ||||
* | Updated exec API documentationexec_rework | Joffrey F | 2015-04-27 | 1 | -3/+1 |
| | |||||
* | Exec API tests | Joffrey F | 2015-04-27 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -4/+35 |
|\ | | | | | Added check_resource decorator | ||||
| * | Added check_resource decorator to interrupt command if container or image ↵ | Joffrey F | 2015-04-24 | 1 | -4/+35 |
| | | | | | | | | argument is None | ||||
* | | fix(client.py): unification the container argument | Pahaz Blinov | 2015-04-26 | 1 | -0/+2 |
|/ | |||||
* | Handle ID truncate on client side in containers list (and changed default ↵client_side_trunc | Joffrey F | 2015-04-22 | 1 | -1/+4 |
| | | | | from True to False) | ||||
* | Add support for ulimits in host_config | Joffrey F | 2015-04-22 | 1 | -2/+8 |
| | |||||
* | Merge branch 'sam/import-improvements' of ↵ | Joffrey F | 2015-04-22 | 1 | -28/+86 |
|\ | | | | | | | | | | | | | | | | | https://github.com/ssssam/docker-py into ssssam-sam/import-improvements Conflicts: docker/client.py docker/unixconn/unixconn.py tests/integration_test.py | ||||
| * | Rewrite Client.import_image() and add less-magical versions | Sam Thursfield | 2015-01-05 | 1 | -19/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -10/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'pull_auth' of https://github.com/hibooboo2/docker-py into ↵ | Joffrey F | 2015-04-22 | 1 | -10/+15 |
|\ \ | | | | | | | | | | hibooboo2-pull_auth | ||||
| * | | Add auth config to pull | James Harris | 2015-02-18 | 1 | -10/+15 |
| | | | |||||
* | | | IPC sharing implementation | Yaroslav Molochko | 2015-03-30 | 1 | -2/+6 |
| | | |