summaryrefslogtreecommitdiff
path: root/docker/api
Commit message (Collapse)AuthorAgeFilesLines
* Don't add superfluous argumentsuse_proxy_config_defaultJoffrey F2019-05-021-1/+1
| | | | Signed-off-by: Joffrey F <f.joffrey@gmail.com>
* Change use_config_proxy default value to True to match CLI behaviorJoffrey F2019-05-012-7/+9
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for rotate_manager_unlock_keyHannes Ljungberg2019-05-011-5/+17
| | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* Merge pull request #2296 from hannseman/swarm-init-responseJoffrey F2019-05-011-3/+2
|\ | | | | Return node id on swarm init
| * Return node id on swarm initHannes Ljungberg2019-05-011-3/+2
| | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | Add swarm support for data_addr_pathHannes Ljungberg2019-05-011-6/+29
|/ | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* Merge pull request #2309 from thaJeztah/remove_init_path_createJoffrey F2019-04-301-1/+0
|\ | | | | Remove init_path from create
| * Remove init_path from createSebastiaan van Stijn2019-04-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This option was never functional, and was not intended to be added to the "container create" API, so let's remove it, because it has been removed in Docker 17.05, and was broken in versions before that; see - https://github.com/moby/moby/issues/32355 --init-path does not seem to work - https://github.com/moby/moby/pull/32470 remove --init-path from client Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* | Merge pull request #2297 from hannseman/service-initJoffrey F2019-04-141-0/+4
|\ \ | |/ |/| Add support for setting init on services
| * Add support for setting init on servicesHannes Ljungberg2019-03-281-0/+4
| | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | Document correct listen_addr on join swarmHannes Ljungberg2019-03-311-1/+1
|/ | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* Merge pull request #2227 from docker/2225-inspect_distrib_authIan Campbell2019-03-261-10/+23
|\ | | | | Add registry auth header to inspect_distribution requests
| * Add registry auth header to inspect_distribution requests2225-inspect_distrib_authJoffrey F2019-01-111-10/+23
| | | | | | | | | | | | | | Update docstring for auth_config parameter in pull, push, and inspect_distribution Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #2287 from hannseman/swarm-default-addr-pool-reduxIan Campbell2019-03-251-1/+30
|\ \ | | | | | | Redux added arguments to create a swarm with a custom address pool and subnet size.
| * | Fix documentation and order of argumentsHannes Ljungberg2019-03-221-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | Following https://github.com/docker/docker-py/pull/2201#pullrequestreview-192571911 Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se> Co-authored-by: Hannes Ljungberg <hannes@5monkeys.se> Co-authored-by: bluikko <14869000+bluikko@users.noreply.github.com>
| * | Check API version before setting swarm addr pool.Barry Shapira2019-03-221-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also corrected a documentation error: the default API version from constants is currently 1.35, not 1.30 as was sometimes listed. Signed-off-by: Barry Shapira <barry@whiterabbit.ai> Removed accidental whitespace. Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
| * | Added arguments to creeate a swarm with a custom address pool and subnet size.Barry Shapira2019-03-221-0/+9
| | | | | | | | | | | | Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
* | | Merge pull request #2281 from hannseman/sctp-protocolUlysses Souza2019-03-251-3/+4
|\ \ \ | | | | | | | | Support for SCTP
| * | | Support sctp as protocolHannes Ljungberg2019-03-181-3/+4
| | | | | | | | | | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | | | Merge pull request #2265 from lekster/masterJoffrey F2019-03-231-0/+1
|\ \ \ \ | |_|/ / |/| | | set buildargs default value if None
| * | | set buildargs default value if NoneLeks2019-03-011-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Leks <alexsmir@list.ru>
* | | | Update doc for container.exec_run & exec_api about demuxYincen Xia2019-03-191-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Yincen Xia <philip980507@msn.cn>
* | | | Merge pull request #2272 from hannseman/update-service-responseJoffrey F2019-03-161-3/+2
|\ \ \ \ | |_|/ / |/| | | Return API response on service update
| * | | Return API response on service updateHannes Ljungberg2019-03-131-3/+2
| |/ / | | | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | | Homogenize adapters close() behaviour.Ulysses Souza2019-03-151-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds a BaseHTTPAdapter with a close method to ensure that the pools is clean on close() - Makes SSHHTTPAdapter reopen a closed connection when needed like the others Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | | Sets a different default number of pools to SSHUlysses Souza2019-03-151-3/+7
|/ / | | | | | | | | | | | | This is because default the number of connections in OpenSSH is 10 Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Fix `network_mode` API documentation wordingp1100i2019-02-211-1/+1
| | | | | | | | Signed-off-by: p1100i <p1100i@gmx.com>
* | Fix descriptions of the default API version in docsTsuyoshi Hombashi2019-01-261-1/+1
|/ | | | | | 1.30 -> 1.35 Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
* Remove use_config_proxy from exec. Add use_config_proxy docs to DockerClientproxy_env_fixesJoffrey F2019-01-091-9/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* 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>