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

A Python library for the Docker Engine API

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

I have a Dockerfile utlising cache advantage of multi-stage build, and if I build it using docker cli it works perfectly. But if use docker-py to build the image using...

Would be nice to have typing annotations to support static typing in projects with mypy.

There is no way of switching the docker client from running Linux to windows or vice versa.

Hi team, We've started to see error messages with Docker Desktop v4.12.0 on Windows. We are attaching to the container by calling `{container_instance}.attach(stream=True, logs=True, demux=True)` and then iterating through the...

## Issue Connecting to the docker client on host machine via `import docker; client = docker.from_env()` fails with a `PermissionDenied` error. (Refer stack trace). On my machine, docker needs to...

Hello. It seems that in certain situations http socket isn't properly closed. ``` /usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py:395: ResourceWarning: unclosed ``` Python 3.5.1 on OSX. Can be reproduced with following script: ```python import unittest...

Current documentation of some important arguments to the `build` command is: ``` path (str) – Path to the directory containing the Dockerfile dockerfile (str) – path within the build context...

status/need-info
group/documentation
dco/no

## Details `Python` Version: 3.8.5 `docker-py` Version: 4.4.0 `Docker` Version: 20.10.6, build 370c289 Using Docker Desktop with WSL Backend and Windows 10 Version 20H2 (Build 19042.1348) ## The Problem For...

I am trying to create and run docker container from my website on remote machine. I am using Windows as development machine and trying to connect linux machine, so When...

Passing the `\` character to the daemon in the `containers.create` method command argument requires escaping twice, once for the string in Python, and then again for something that requires it...