d11wtq / dockerpty

Pseudo-tty handler for docker Python client
https://github.com/d11wtq/dockerpty
Apache License 2.0
156 stars 62 forks source link

Update readme to work with newest Docker library #83

Open tedivm opened 5 years ago

tedivm commented 5 years ago

When docker ditched the docker-py library in favor of docker on PyPI they made a few very very small changes that break this library.

I've gone ahead and upgraded the readme to work with these new changes. I should point out that these changes are trivial- it basically amounts to changing docker.client() to docker.APIClient(). That's because the "low level API" that this project is based on has moved- but it is still there, and completely compatible with this library. Literally all anyone has to do in order to use the latest docker python library is change that one call so they get the low level client instead of the high level one.

resolves #78 resolves #79

acerv commented 4 years ago

Hello, Is there a plan to update the documentation? At the moment, this is the only working library to get docker tty :)

Thanks for your work, Andrea