summaryrefslogtreecommitdiff
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* Add chunk_size parameter to data downloading methods (export, get_archive, save)1352-data_stream_controlJoffrey F2018-02-146-15/+42
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Correctly support absolute paths in .dockerignorec5672-dockerignore-abspathJoffrey F2018-02-121-7/+13
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1901 from docker/1899-create_archive_fixJoffrey F2018-02-051-5/+3
|\ | | | | Rewrite access check in create_archive with EAFP
| * Rewrite access check in create_archive with EAFP1899-create_archive_fixJoffrey F2018-02-051-5/+3
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1896 from docker/1895-login-authsJoffrey F2018-02-021-1/+1
|\ \ | | | | | | Add login data to the right subdict in auth_configs
| * | Add login data to the right subdict in auth_configs1895-login-authsJoffrey F2018-02-011-1/+1
| |/ | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add workaround for bpo-32713c5618-negative-mtime-tarJoffrey F2018-02-011-0/+4
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* 3.1.0-devJoffrey F2018-01-311-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Docs fixes3.0.0-releaseJoffrey F2018-01-311-0/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Bump 3.0.0Joffrey F2018-01-311-0/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update wait to always return a dictwait_returnJoffrey F2018-01-313-11/+7
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1889 from docker/1441-pull-repository-nameJoffrey F2018-01-311-6/+5
|\ | | | | Rename `name` parameter in `pull` method to `repository`
| * Rename `name` parameter in `pull` method to `repository`1441-pull-repository-nameJoffrey F2018-01-311-6/+5
| | | | | | | | | | | | for consistency with APIClient naming Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1888 from docker/1884-create_volumes_win32Joffrey F2018-01-311-9/+15
|\ \ | |/ |/| Correctly parse volumes with Windows paths
| * Correctly parse volumes with Windows paths1884-create_volumes_win32Joffrey F2018-01-311-9/+15
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Refuse API version < 1.21 ; Remove associated code pathscleanup_deprecatedJoffrey F2018-01-318-309/+85
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Remove parameters and methods marked as deprecatedJoffrey F2018-01-317-119/+10
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for publish mode for endpointspec ports1878-publishmodeJoffrey F2018-01-312-6/+23
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separationJoffrey F2018-01-306-44/+55
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use config.json for detachKeysFumiaki MATSUSHIMA2018-01-305-47/+88
| | | | Signed-off-by: Fumiaki Matsushima <mtsmfm@gmail.com>
* Properly support pulling all tags in DockerClient.images.pull1761-dockerclient-pullJoffrey F2018-01-301-3/+17
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Do not break when archiving broken symlinks1841-tar-broken-symlinksJoffrey F2018-01-291-1/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Move ExecResult definition to models.containersJoffrey F2018-01-293-13/+13
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge branch 'container_exec_run' of ↵Joffrey F2018-01-293-8/+18
|\ | | | | | | | | | | https://github.com/funkyfuture/docker-py into funkyfuture-container_exec_run Signed-off-by: Joffrey F <joffrey@docker.com>
| * Container.exec_run returns a namedtuple w/ attrs exit_code & outputFrank Sachsenheim2018-01-283-6/+14
| | | | | | | | Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
| * Container.exec_run returns None as exit_code if stream or socketFrank Sachsenheim2018-01-281-5/+7
| | | | | | | | Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
* | Merge pull request #1874 from docker/1774-export-methodsJoffrey F2018-01-293-18/+14
|\ \ | |/ |/| Update save / export methods to return data generators
| * Update save / export methods to return data generators1774-export-methodsJoffrey F2018-01-263-18/+14
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | ImageCollection.build now also returns build logs along with the built image ↵1702-build-logs-dockerclientJoffrey F2018-01-262-7/+14
|/ | | | | | | | reference BuildError.build_logs has a copy of the logs generator Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1873 from docker/hongbin-image-loadJoffrey F2018-01-262-3/+21
|\ | | | | Return Image objects in ImageCollection.load
| * Error handling in ImageCollection.loadhongbin-image-loadJoffrey F2018-01-262-1/+8
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Merge branch 'image-load' of https://github.com/hongbin/docker-py into ↵Joffrey F2018-01-261-2/+13
| |\ | | | | | | | | | | | | | | | hongbin-image-load Signed-off-by: Joffrey F <joffrey@docker.com>
| | * Return Image objects on image.loadHongbin Lu2017-09-101-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | In before, image.load returns what Docker API returns, which is a text stream. This commits propose an improvement for returning more useful information, which is a list of Image objects being loaded. Signed-off-by: Hongbin Lu <hongbin.lu@huawei.com>
* | | Return tuple instead of dict in exec_runJoffrey F2018-01-261-7/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge branch 'add_exit_code_to_exec_run' of ↵Joffrey F2018-01-261-5/+16
|\ \ \ | |/ / |/| | | | | https://github.com/hnq90/docker-py into hnq90-add_exit_code_to_exec_run
| * | Add exit code to exec_runHuyNQ2017-11-131-5/+16
| | | | | | | | | | | | Signed-off-by: HuyNQ <huy@huynq.net>
* | | Bump default API version to 1.35Joffrey F2018-01-267-24/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add ContainerSpec.isolation support Add until support in logs Add condition support in wait Add workdir support in exec_create Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Replace missing "^" with "e"mccalluc2018-01-261-1/+1
| | | | | | | | | Signed-off-by: Chuck McCallum <mccallucc+github@gmail.com>
* | | Merge pull request #1865 from docker/dperny-change-tls-defaultJoffrey F2018-01-251-7/+27
|\ \ \ | | | | | | | | Change default TLS version
| * | | Don't use PROTOCOL_TLSv1_2 directly to avoid ImportErrorsdperny-change-tls-defaultJoffrey F2018-01-241-15/+8
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Change default TLS versionDrew Erny2018-01-241-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detects if python has an up-to-date version of OpenSSL that supports TLSv1.2. If it does, choose that as the default TLS version, instead of TLSv1. The Docker Engine and the majority of other Docker API servers should suppot TLSv1.2, and if they do not, the user can manually set a different (lower) version. Signed-off-by: Drew Erny <drew.erny@docker.com>
* | | | Merge pull request #1856 from docker/1855-platform-optionJoffrey F2018-01-244-5/+28
|\ \ \ \ | | | | | | | | | | Add support for experimental platform flag in build and pull
| * | | | Add support for experimental platform flag in build and pull1855-platform-optionJoffrey F2018-01-234-5/+28
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | | Merge pull request #1849 from johannespostler/1516-endport-port-documentationJoffrey F2018-01-241-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Switch ports in documentation for EndpointSpec (#1516)
| * | | | | Switch ports in documentation for EndpointSpecJohannes Postler2017-12-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Johannes Postler <johannes.postler@uibk.ac.at>
* | | | | | Merge pull request #1846 from feliperuhland/issue-1734-scale-methodJoffrey F2018-01-241-2/+21
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Added scale method to the Service model.
| * | | | | Fix test to make sure the initial mode is replicatedFelipe Ruhland2018-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
| * | | | | Ensure that global containers are not scaledFelipe Ruhland2017-12-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
| * | | | | Added scale method to the Service model.Felipe Ruhland2017-12-211-1/+17
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
* | | | | Fix regression on API < 1.25Viktor Adam2018-01-121-1/+8
| |/ / / |/| | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>