summaryrefslogtreecommitdiff
path: root/docker/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't fallback to HTTP unless insecure_registry is specified when ↵insecure_registryJoffrey F2014-08-221-4/+10
| | | | pushing/pulling
* 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
| * | | Universally-compatible reading of chunked streamsAanand Prasad2014-04-281-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docker introduced newlines in stream output in version 0.9 (https://github.com/dotcloud/docker/pull/4276), but not to all endpoints - POST /images/create, for example, does not include them. This reverts to the old, less pleasant implementation of _stream_helper(), with a manual check for newlines to fix the problem described in #176 and fixed in #184, without the accompanying regression. It should work against Docker 0.8, 0.9 and 0.10, both when building and when pulling.
* | | | Merge pull request #221 from tutumcloud/memoryswapJoffrey F2014-05-131-4/+7
|\ \ \ \ | | | | | | | | | | memory swap limit support
| * | | | memory swap limit supportBernardo2014-05-111-4/+7
| | |/ / | |/| |
* | | | Add NetMode to hostConfig in startJohannes 'fish' Ziemke2014-05-131-1/+4
| | | |
* | | | Support for legacy volume binds (ansible compat)Joffrey F2014-05-121-8/+1
| | | |
* | | | Merge pull request #209 from tarnfeld/feature/build-contextJoffrey F2014-04-281-3/+12
|\ \ \ \ | | | | | | | | | | Added ability to specify the full build context
| * | | | Line to long...Tom Arnfeld2014-04-231-1/+1
| | | | |
| * | | | Re-format if/elseTom Arnfeld2014-04-231-9/+8
| | | | |
| * | | | Fix for pep8 failuresTom Arnfeld2014-04-231-1/+2
| | | | |
| * | | | Error with headers being NoneTypeTom Arnfeld2014-04-231-1/+1
| | | | |
| * | | | Added ability to specify the full build contextTom Arnfeld2014-04-231-7/+16
| | | | |