summaryrefslogtreecommitdiff
path: root/docker/api
Commit message (Collapse)AuthorAgeFilesLines
* Style fixes and removed some unused code2199-proxy-supportJoffrey F2019-01-091-2/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* handle url-based proxy configurationsCorentin Henry2019-01-091-2/+5
| | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* By default, disable proxy supportCorentin Henry2019-01-093-8/+28
| | | | | | This is to avoid a breaking change Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* code style improvementCorentin Henry2019-01-091-4/+4
| | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* add support for proxiesCorentin Henry2019-01-094-1/+16
| | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* Fixed a typo in the configs api docMaximilian Bischoff2018-12-141-1/+1
| | | | | | | The documentation for id in ConfigApiMixin inspect_config was wrongly mentioning removal of a config Signed-off-by: Maximilian Bischoff <maximilianbischoff2@gmail.com>
* Fix empty authconfig detectionauthconfig_fixJoffrey F2018-11-302-3/+3
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #2188 from docker/c6374-credhelpersJoffrey F2018-11-303-39/+24
|\ | | | | Modernize auth management
| * Add credstore_env to all load_config callsJoffrey F2018-11-302-3/+7
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Modernize auth managementJoffrey F2018-11-282-36/+17
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge branch 'master' of https://github.com/little-dude/docker-py into ↵Joffrey F2018-11-303-17/+27
|\ \ | |/ |/| | | little-dude-master
| * fix exec_start() documentationCorentin Henry2018-11-281-2/+2
| | | | | | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
| * implement stream demultiplexing for exec commandsCorentin Henry2018-11-273-17/+27
| | | | | | | | | | | | fixes https://github.com/docker/docker-py/issues/1952 Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* | Fix pulling images with `stream=True`adw1n2018-11-281-1/+2
|/ | | | | | | | | | | | | | | | | Pulling an image with option `stream=True` like this: ``` client.api.pull('docker.io/user/repo_name', tag='latest', stream=True) ``` without consuming the generator oftentimes results in premature drop of the connection. Docker daemon tries to send progress of pulling the image to the client, but it encounters an error (broken pipe) and therefore cancells the pull action: ``` Thread 1 "dockerd-dev" received signal SIGPIPE, Broken pipe. ERRO[2018-09-03T05:12:35.746497638+02:00] Not continuing with pull after error: context canceled ``` As described in issue #2116, even though client receives response with status code 200, image is not pulled. Closes #2116 Signed-off-by: Przemysław Adamek <adw1n@users.noreply.github.com>
* Correctly handle longpath prefix in process_dockerfile when joining pathsc6356-longpath-prefixJoffrey F2018-11-261-1/+8
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Remove prematurely committed filefix_docsJoffrey F2018-11-081-57/+0
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix file mode in image.save examplesJoffrey F2018-11-081-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add doc example for get_archiveJoffrey F2018-11-081-0/+12
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Disallow incompatible combination stats(decode=True, stream=False)Joffrey F2018-11-081-1/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix incorrect return info for inspect_serviceJoffrey F2018-11-081-1/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update links docs and fix bug in normalize_linksJoffrey F2018-11-081-7/+10
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improved LogConfig documentationJoffrey F2018-11-081-7/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve ulimits documentationJoffrey F2018-11-081-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix docs examples to work with Python 3Joffrey F2018-11-083-11/+68
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for SSH protocol in base_urlJoffrey F2018-11-011-0/+19
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix typo: Addtional -> AdditionalRui Cao2018-09-271-1/+1
| | | | Signed-off-by: Rui Cao <ruicao@alauda.io>
* Document defaults of logs()Ben Firshman2018-08-121-5/+5
| | | | | | This is not obvious because some are True by default. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Add support for RollbackConfigrollback_configJoffrey F2018-08-091-5/+29
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add version checks and testJoffrey F2018-08-091-0/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add credHelpers support to set_auth_headers in build2078-credhelpers-supportJoffrey F2018-07-191-4/+12
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for `uts_mode` parameter in `Client.create_host_config`.Marco Trillo2018-06-291-0/+2
| | | | | | | | | | This parameter allows to set the UTS namespace of the container, as in the `--uts=X` Docker CLI parameter: <https://docs.docker.com/engine/reference/run/#uts-settings---uts> The only allowed value, if set, is "host". Signed-off-by: Marco Trillo <martri@arantia.com> Signed-off-by: Diego Alvarez <dyako.developer@gmail.com>
* Fix support for legacy .dockercfg auth config formatJoffrey F2018-06-271-2/+3
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Allow passing of env overrides to credstore through APIClient ctorJoffrey F2018-06-083-3/+10
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* query plugin privilege with registry auth headerMike Lee2018-06-051-1/+9
| | | | Signed-off-by: Mike Lee <eemike@gmail.com>
* Fix create_plugin on WindowsJoffrey F2018-05-251-1/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Avoid unwanted modification of dockerfile pathJoffrey F2018-05-251-1/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge branch 'master' of github.com:docker/docker-pyJoffrey F2018-04-252-8/+12
|\
| * Fix session timeout = None caseJoffrey F2018-04-251-8/+7
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Total timeout should be HTTP timeout + operation timeoutJoffrey F2018-04-251-6/+6
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * stop(), restart(): Adjust request timeout.Matthieu Nottale2018-04-251-3/+8
| | | | | | | | Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
| * Set minimum version for configs api to 1.30John Hu2018-04-251-4/+4
| | | | | | | | | | | | | | See: https://docs.docker.com/engine/reference/commandline/config/ https://docs.docker.com/engine/api/v1.30/ Signed-off-by: John Hu <hszqqq12@gmail.com>
* | prune_builds testJoffrey F2018-04-251-16/+17
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge branch 'build_prune' of https://github.com/The-Loeki/docker-py into ↵Joffrey F2018-04-251-0/+16
|\ \ | |/ |/| | | | | | | The-Loeki-build_prune Signed-off-by: Joffrey F <joffrey@docker.com>
| * build_pruneRonald van Zantvoort2018-02-261-0/+16
| | | | | | | | Signed-off-by: Ronald van Zantvoort <the.loeki@gmail.com>
* | Support absolute paths for in-context DockerfilesJoffrey F2018-04-121-2/+4
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Properly handle relative Dockerfile paths and Dockerfile on different drivesJoffrey F2018-03-301-9/+20
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add methods for /distribution/<name>/json endpointJoffrey F2018-03-291-0/+21
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Support building with Dockerfile outside of contextJoffrey F2018-03-271-0/+10
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add isolation param to buildJoffrey F2018-03-231-1/+10
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Allow cancelling the streams from other threadsViktor Adam2018-03-202-10/+28
| | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>