summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2898 from hugovk/add-3.10masterStefan Scherer2021-10-1415-64/+20
|\ | | | | Add support for Python 3.10
| * Don't install mock backportHugo van Kemenade2021-10-1111-52/+10
| | | | | | | | Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
| * Bump minimum paramiko to support Python 3.10Hugo van Kemenade2021-10-112-2/+2
| | | | | | | | Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
| * Bump pytest (and other dependencies) for Python 3.10Hugo van Kemenade2021-10-111-6/+6
| | | | | | | | Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
| * Universal wheels are for code expected to work on both Python 2 and 3Hugo van Kemenade2021-10-111-3/+0
| | | | | | | | Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
| * Add support for Python 3.10Hugo van Kemenade2021-10-112-1/+2
| | | | | | | | Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* | Merge pull request #2897 from aiordache/changelog_5.0.3Stefan Scherer2021-10-141-0/+15
|\ \ | |/ |/| Update changelog for 5.0.3
| * Post-release changelog updateAnca Iordache2021-10-081-0/+15
|/ | | | Signed-off-by: Anca Iordache <anca.iordache@docker.com>
* Merge pull request #2806 from feliperuhland/fix-low-level-volumes-exampleAnca Iordache2021-10-081-3/+3
|\ | | | | Fix volumes low-level documentation examples
| * Fix volumes low-level documentation examplesFelipe Ruhland2021-04-061-3/+3
| | | | | | | | | | | | | | I realize that low-level documentation has outdated examples, so I created issue #2800 to fix that Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
* | Merge pull request #2810 from feliperuhland/fix-low-level-swarm-exampleAnca Iordache2021-10-081-5/+5
|\ \ | | | | | | Fix swarm low-level documentation examples
| * | Fix swarm low-level documentation examplesFelipe Ruhland2021-04-071-5/+5
| |/ | | | | | | | | | | | | I realize that low-level documentation has outdated examples, so I created issue #2800 to fix that Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
* | Merge pull request #2805 from feliperuhland/fix-low-level-network-exampleAnca Iordache2021-10-081-2/+2
|\ \ | | | | | | Fix network low-level documentation examples
| * | Fix network low-level documentation examplesFelipe Ruhland2021-04-061-2/+2
| |/ | | | | | | | | | | | | I realize that low-level documentation has outdated examples, so I created issue #2800 to fix that Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
* | Merge pull request #2809 from feliperuhland/add-service-capabilityAnca Iordache2021-10-086-4/+95
|\ \ | | | | | | Add service capability
| * | Add `CapabilityAdd` and `CapabilityDrop` toFelipe Ruhland2021-04-074-1/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ContainerSpec Docker Engine v1.41 added `CapAdd` and `CapDrop` as part of the ContainerSpec, and `docker-py` should do the same. ``` GET /services now returns CapAdd and CapDrop as part of the ContainerSpec. GET /services/{id} now returns CapAdd and CapDrop as part of the ContainerSpec. POST /services/create now accepts CapAdd and CapDrop as part of the ContainerSpec. POST /services/{id}/update now accepts CapAdd and CapDrop as part of the ContainerSpec. GET /tasks now returns CapAdd and CapDrop as part of the ContainerSpec. GET /tasks/{id} now returns CapAdd and CapDrop as part of the ContainerSpec. ``` I added capabilities on docstrings, `service.create` init method and create tests for that. That change was mention in issue #2802. Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
| * | Update API and Engine versionsFelipe Ruhland2021-04-072-3/+3
| |/ | | | | | | | | | | | | The Makefile and `docker/constants.py` were with old versions, so I updated them to the current one Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
* | Merge pull request #2852 from Phat3/feat/add_templating_parameter_docker_configAnca Iordache2021-10-072-2/+19
|\ \ | | | | | | Add the possibility to set a templating driver when creating a new Docker config
| * \ Merge branch 'master' into feat/add_templating_parameter_docker_configAnca Iordache2021-10-0795-674/+588
| |\ \ | |/ / |/| |
* | | Merge pull request #2888 from aiordache/changelog_5.0.2Anca Iordache2021-10-071-0/+8
|\ \ \ | | | | | | | | Post-release changelog update
| * | | Post-release changelog updateAnca Iordache2021-09-011-0/+8
| | | | | | | | | | | | | | | | Signed-off-by: Anca Iordache <anca.iordache@docker.com>
* | | | Merge pull request #1959 from segevfiner/logs-read-timeoutAnca Iordache2021-09-171-0/+6
|\ \ \ \ | |/ / / |/| | | Fix getting a read timeout for logs/attach with a tty and slow output
| * | | Fix getting a read timeout for logs/attach with a tty and slow outputSegev Finer2021-09-171-0/+6
|/ / / | | | | | | | | | | | | | | | Fixes #931 Signed-off-by: Segev Finer <segev208@gmail.com>
* | | Merge pull request #2878 from sina-rostami/masterAnca Iordache2021-09-011-0/+8
|\ \ \ | | | | | | | | Improve containers documentation
| * | | Improve containers documentationsinarostami2021-08-161-0/+8
| | | | | | | | | | | | | | | | Signed-off-by: sinarostami <Sinarostami4188.1@gmail.com>
* | | | Merge pull request #2884 from aiordache/changelog_update_5.0.1Anca Iordache2021-09-012-1/+15
|\ \ \ \ | | | | | | | | | | Update changelog post-release 5.0.1
| * | | | Update changelog for 5.0.1 releaseAnca Iordache2021-08-312-1/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Anca Iordache <anca.iordache@docker.com>
* | | | | Merge pull request #2886 from Aposhian/fix-disable-bufferingUlysses Souza2021-09-011-6/+0
|\ \ \ \ \ | |/ / / / |/| | | | fix(transport): remove disable_buffering option
| * | | | fix(transport): remove disable_buffering optionAdam Aposhian2021-08-311-6/+0
|/ / / / | | | | | | | | | | | | Signed-off-by: Adam Aposhian <aposhian.dev@gmail.com>
* | | | Merge pull request #2883 from aiordache/changelogUlysses Souza2021-08-312-1/+19
|\ \ \ \ | | | | | | | | | | Update changelog for v5.0.0
| * | | | Update changelog for v5.0.0Anca Iordache2021-08-312-1/+19
|/ / / / | | | | | | | | | | | | Signed-off-by: Anca Iordache <anca.iordache@docker.com>
* | | | Merge pull request #2846 from shehzaman/feature/missing-identity-fileAnca Iordache2021-08-311-3/+4
|\ \ \ \ | | | | | | | | | | Put back identityfile parameter from .ssh/config
| * | | | Put back identityfile parameterShehzaman2021-08-311-3/+4
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Shehzaman <shehzi.1@gmail.com>
* | | | Merge pull request #2874 from docker/dependabot/pip/pywin32-301Ulysses Souza2021-08-311-1/+1
|\ \ \ \ | |_|/ / |/| | | Bump pywin32 from 227 to 301
| * | | Bump pywin32 from 227 to 301dependabot/pip/pywin32-301dependabot[bot]2021-08-091-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pywin32](https://github.com/mhammond/pywin32) from 227 to 301. - [Release notes](https://github.com/mhammond/pywin32/releases) - [Changelog](https://github.com/mhammond/pywin32/blob/master/CHANGES.txt) - [Commits](https://github.com/mhammond/pywin32/commits) --- updated-dependencies: - dependency-name: pywin32 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* | | Merge pull request #2850 from docker/dependabot/pip/urllib3-1.26.5Ulysses Souza2021-08-061-1/+1
|\ \ \ | | | | | | | | Bump urllib3 from 1.24.3 to 1.26.5
| * | | Bump urllib3 from 1.24.3 to 1.26.5dependabot[bot]2021-08-061-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.24.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* | | Merge pull request #2873 from ulyssessouza/bump-requestsUlysses Souza2021-08-061-1/+1
|\ \ \ | | | | | | | | Bump requests => 2.26.0
| * | | Bump requests => 2.26.0Ulysses Souza2021-08-061-1/+1
|/ / / | | | | | | | | | Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
* | | Merge pull request #2863 from asottile/py36_plusUlysses Souza2021-07-0892-658/+524
|\ \ \ | | | | | | | | use python3.6+ constructs
| * | | use python3.6+ constructsAnthony Sottile2021-07-0592-658/+524
|/ / / | | | | | | | | | Signed-off-by: Anthony Sottile <asottile@umich.edu>
* | | Merge pull request #2851 from huogerac/issue836_better_docsMathieu Champlon2021-06-291-2/+2
|\ \ \ | |/ / |/| | Update the Image.save documentation with a working example. Issue #836
| * | [DOCS] Update the Image.save documentation with a working example. Issue #836Roger Camargo2021-06-031-2/+2
|/ / | | | | | | Signed-off-by: Roger Camargo <huogerac@gmail.com>
| * Add the possibility to set a templating driver when creating a new Docker configSebastiano Mariani2021-06-032-2/+20
|/ | | | Signed-off-by: Sebastiano Mariani <smariani@vmware.com>
* Merge pull request #2804 from aiordache/update_maintainerAnca Iordache2021-04-062-3/+15
|\ | | | | Update maintainers file and setup.py
| * Update maintainersAnca Iordache2021-04-062-3/+15
| | | | | | | | Signed-off-by: Anca Iordache <anca.iordache@docker.com>
* | Merge pull request #2476 from feliperuhland/add-search-images-limitAnca Iordache2021-04-062-2/+12
|\ \ | | | | | | Add limit parameter to image search endpoint
| * | Add limit parameter to image search endpointFelipe Ruhland2021-02-242-2/+12
| | | | | | | | | | | | Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
* | | Merge pull request #2799 from feliperuhland/fix-low-level-pull-exampleAnca Iordache2021-04-061-4/+4
|\ \ \ | | | | | | | | Fix images low-level documentation examples
| * | | Fix images low-level documentation examplesFelipe Ruhland2021-04-051-4/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I realize that the documentation of low-level `images` was outdated when answering issue #2798 The issue can reproduce it with a simple test: ```py In [1]: import docker In [2]: client = docker.from_env() In [3]: client.pull --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-3-d0931943ca5d> in <module> ----> 1 client.pull ~/docker-py/docker/client.py in __getattr__(self, name) 219 "object APIClient. See the low-level API section of the " 220 "documentation for more details.") --> 221 raise AttributeError(' '.join(s)) 222 223 AttributeError: 'DockerClient' object has no attribute 'pull' In Docker SDK for Python 2.0, this method is now on the object APIClient. See the low-level API section of the documentation for more details. In [4]: client.push --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-4-f7d5b860a184> in <module> ----> 1 client.push ~/docker-py/docker/client.py in __getattr__(self, name) 219 "object APIClient. See the low-level API section of the " 220 "documentation for more details.") --> 221 raise AttributeError(' '.join(s)) 222 223 AttributeError: 'DockerClient' object has no attribute 'push' In Docker SDK for Python 2.0, this method is now on the object APIClient. See the low-level API section of the documentation for more details. In [5]: client.tag --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-5-043bdfd088ca> in <module> ----> 1 client.tag ~/docker-py/docker/client.py in __getattr__(self, name) 219 "object APIClient. See the low-level API section of the " 220 "documentation for more details.") --> 221 raise AttributeError(' '.join(s)) 222 223 AttributeError: 'DockerClient' object has no attribute 'tag' In Docker SDK for Python 2.0, this method is now on the object APIClient. See the low-level API section of the documentation for more details. In [6]: client.get_image --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-6-477c12713276> in <module> ----> 1 client.get_image ~/docker-py/docker/client.py in __getattr__(self, name) 219 "object APIClient. See the low-level API section of the " 220 "documentation for more details.") --> 221 raise AttributeError(' '.join(s)) 222 223 AttributeError: 'DockerClient' object has no attribute 'get_image' In Docker SDK for Python 2.0, this method is now on the object APIClient. See the low-level API section of the documentation for more details. In [7]: client.api.get_image Out[7]: <bound method ImageApiMixin.get_image of <docker.api.client.APIClient object at 0x7fad6a2037c0>> In [8]: client.api.tag Out[8]: <bound method ImageApiMixin.tag of <docker.api.client.APIClient object at 0x7fad6a2037c0>> In [9]: client.api.pull Out[9]: <bound method ImageApiMixin.pull of <docker.api.client.APIClient object at 0x7fad6a2037c0>> In [10]: client.api.push Out[10]: <bound method ImageApiMixin.push of <docker.api.client.APIClient object at 0x7fad6a2037c0>> ``` Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>