Open cdman opened 7 years ago
I had the same issue, but after trying to fix module I've found it works (at least for me) when you provide
docker_client.api
instead of docker_client
to dockerpty.start()
function (and container.id
instead of container
, if you have an object).
Please correct me if I'm wrong, but it's my understanding that docker-py is superseded by docker as the "official" Python Docker API binding. If so, dockerpty does not work with docker 2.4.2 and gives the following stacktrace: