docker-py
docker-py copied to clipboard
A Python library for the Docker Engine API
Fix for https://github.com/docker/docker-py/issues/3345 issues.
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...