summaryrefslogtreecommitdiff
path: root/docker/client.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Added support for 'cpuset'davy2014-08-271-5/+7
| | | | | |
* | | | | | Merge pull request #337 from heewa/catch_invalid_buildJoffrey F2014-10-221-0/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Catch invalid path in build method
| * | | | | Catch invalid path in build methodHeewa Barfchin2014-10-041-0/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | The server responds with an unuseful message (server error EOF), which happens because an empty tar file is sent over. So check in the client, who knows why that's happening and tell the user.
* | | | | Fix attaching with UNIX socketsBen Firshman2014-10-161-1/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | | | Stop TLS sockets being closed when attachingBen Firshman2014-10-161-2/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling attach_socket, the response is garbage collected, which triggers a close method on the file object, closing the socket. This stop the response from being garbage collected until we've finished with the underlying socket. Fixes #350 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | | Renamed wrapper.Matthias Erll2014-09-091-2/+2
| | | |
* | | | Wrap response socket for platform compatibility.Matthias Erll2014-09-091-1/+2
| |_|/ |/| |
* | | Merge pull request #298 from docker/insecure_registryJoffrey F2014-09-081-4/+10
|\ \ \ | | | | | | | | Don't fallback to HTTP unless insecure_registry is specified when pushing/pulling
| * | | Don't fallback to HTTP unless insecure_registry is specified when ↵insecure_registryJoffrey F2014-08-221-4/+10
| |/ / | | | | | | | | | pushing/pulling
* | | add support to add or drop capabilitiesChristian Hammerl2014-09-041-1/+7
| | |
* | | removed DeprecationWarning @shin-Shreyas Karnik2014-08-281-4/+0
| | |
* | | first cut of restart policyShreyas Karnik2014-08-261-1/+8
|/ /
* | Allow pushing a single tag.Cameron Maske2014-08-221-3/+9
| | | | | | | | Closes #282
* | Merge pull request #291 from yograterol/masterJoffrey F2014-08-221-2/+8
|\ \ | |/ |/| Volumes parameter on create_container should be validated as string
| * Change str type for six.string_types to py3 compatibilityYohan Graterol2014-08-201-2/+2
| |
| * Remove unicode type in isinstanceYohan Graterol2014-08-171-2/+2
| |
| * Validation for volumes parameters as string in _container_configYohan Graterol2014-08-171-0/+3
| |
| * PEP8 compliance - space between numbers and operatorsYohan Graterol2014-08-171-2/+2
| |
| * Added validation for volumes parameter - Issue #276Yohan Graterol2014-08-171-0/+3
| |
* | Stop timeout should be added to the request timeoutMaxime Petazzoni2014-08-191-1/+1
|/ | | | | | | | | | | 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>
* Adding tests for mem_limit string conversion + adding default unitLeonid Mirsky2014-08-051-5/+15
|
* Fixing styling issuesLeonid Mirsky2014-08-051-6/+9
|
* Adding value verifications for mem_limit string representationLeonid Mirsky2014-08-051-6/+20
|
* Adding units specification to mem_limit variableLeonid Mirsky2014-08-051-0/+8
|
* Merge pull request #268 from brutasse/265-dockerignoreJoffrey F2014-07-231-1/+7
|\ | | | | Add support for .dockerignore
| * Add support for .dockerignoreBruno Renié2014-07-231-1/+7
| | | | | | | | | | | | | | | | Fixes #265. Implementation is a bit more elaborate than docker's implementation and matches with the one proposed in dotcloud/docker#6869 to handle permission issues more nicely.
* | Merge branch 'master' into momer-tlsJoffrey F2014-07-101-12/+4
|\ \ | | | | | | | | | | | | Conflicts: docker/client.py
| * | Implemented complete parse_host method to handle all accepted values of ↵Joffrey F2014-07-031-9/+2
| |/ | | | | | | Client's base_url. Unit tests
| * Python 3 sees empty lines as \n instead of \r\n (wat). Fixes #257Joffrey F2014-07-031-1/+1
| |
* | Simple TLS configuration doesn't create the ssl_version attribute, use ↵Joffrey F2014-07-031-1/+1
| | | | | | | | default when mounting adapter
* | Fixed bugs, clearer error messagesJoffrey F2014-06-241-1/+1
| |
* | * Merge branch 'tls' of github.com:momer/docker-py into momer-tlsJoffrey F2014-06-231-2/+15
|\ \ | |/ |/| | | | | | | | | * Exported TLS configuration in tls.TLSConfig * Merged exceptions packagee into pre-existing errors module * Flake8 fixes * Bug fixes
| * Expanding on @denibertovic initial additions, we now have full support for ↵Mo Omer2014-05-131-9/+48
| | | | | | | | SSL in docker-py. Including the ability to specify the expected SSL Version for issues with OpenSSL sslv3/tls1 recognition issues. Added an exception class for repetitive reminders to look at the CLI doc on docker.io.
| * initial take on adding support for tls auth with client certificatesDeni Bertovic2014-03-221-3/+17
| |
* | get size from Client.containersAli Vakilzade2014-06-221-1/+2
| |
* | Add resize() method to Clientd11wtq2014-06-211-0/+9
| |
* | Fix non-stream logs for python3Joffrey F2014-06-201-2/+10
| |
* | insert() is no longer available in API >=1.12Joffrey F2014-06-201-1/+7
| |
* | Fix #237Joffrey F2014-06-171-0/+2
| |
* | Merge pull request #236 from rail44/feature-support-get-and-load-imageJoffrey F2014-06-171-0/+10
|\ \ | | | | | | Support get and load image
| * | Support get and load imageSatoshi Amemiya2014-06-021-0/+10
| | |
* | | Fix joining of unicode and byte strings in python3.Sam Riley2014-06-011-2/+4
|/ / | | | | | | | | Check logs response in unit tests, and fix log integration tests for py3.
* | Updated remove_image and remove_container with new params added in 1.10Joffrey F2014-05-281-4/+5
| |
* | Merge pull request #231 from dotcloud/ping_supportJoffrey F2014-05-271-0/+3
|\ \ | | | | | | Added Client.ping() method
| * | Added Client.ping() methodJoffrey F2014-05-281-0/+3
| | |
* | | Merge pull request #230 from dotcloud/dns_search_supportJoffrey F2014-05-271-1/+4
|\ \ \ | | | | | | | | Added dns_search parameter to client.start()
| * | | Added dns_search parameter to client.start()Joffrey F2014-05-281-1/+4
| |/ /
* | | Merge pull request #222 from tutumcloud/logs_api_1.11Joffrey F2014-05-271-1/+11
|\ \ \ | |/ / |/| | logs support for api v1.11 new endpoint
| * | logs support for api v1.11 new endpointBernardo2014-05-121-1/+11
| | |
* | | Merge pull request #210 from aanand/universally-compatible-chunkingMaxime Petazzoni2014-05-211-3/+17
|\ \ \ | | | | | | | | Universally-compatible reading of chunked streams