docker-py icon indicating copy to clipboard operation
docker-py copied to clipboard

A Python library for the Docker Engine API

Results 284 docker-py issues
Sort by recently updated
recently updated
newest added

CancellableStream returned by docker_client.api.exec_start does not adequately release resources when closed, this leads to errors during python shutdown such as this: ``` File "/usr/lib/python3.13/site-packages/urllib3/response.py", line 1113, in close self._fp.close() File...

Requires passing `version='2'` like: ```python stream = self.client.build( fileobj=dockerfile, tag='myimage', version='2' ) ``` Refs https://github.com/moby/moby/blob/3ff85c73436f1c4f8d9764a0d72e41a03b4116f5/api/swagger.yaml#L9343-L9352. Closes #2230

I'm trying to migrate some of my code to docker swarm and even though I can do ``` docker service create --ulimit nofile=66535 alpine sleep infinity ``` and I can...