-
Notifications
You must be signed in to change notification settings - Fork 16.4k
[AIRFLOW-1380] Update import to work with latest Docker client #2417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Changes import of Docker client library to make it compatible with the latest version.
|
@benjaminsims, thanks for your PR! By analyzing the history of the files in this pull request, we identified @asnir, @vitorbaptista and @artwr to be potential reviewers. |
Allow user to specify temporary directory to use on the host machine; default settings will cause an error on OS X due to the standard temporary directory not being shared to Docker.
Allow the user to specify the working directory to be used in the created container. Equivalent to docker run/create -w.
Requirements
|
Somebody is working on this? It's really important for us to be able to launch containers with python library, this way we don't have to install docker client on the container. |
|
@benjaminsims Could you close this PR? It has been fixed in #3407 |
Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA
Description
The API for the Docker client was changed and 'Client' renamed to 'APIClient' (see docker/docker-py@9daa320).
This PR updates the import to reflect the name change.
Tests
Unit tests are broken when running using the latest version of the Docker client; I have modified the unit tests to import the new version instead.
Commits