Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Detect Docker version #158

Closed
rgbkrk opened this issue Aug 26, 2015 · 1 comment
Closed

Detect Docker version #158

rgbkrk opened this issue Aug 26, 2015 · 1 comment
Assignees
Milestone

Comments

@rgbkrk
Copy link
Member

rgbkrk commented Aug 26, 2015

Rather than getting rejected by the Docker host, use the response message (or another API call) to determine the version of the Docker API that docker-py should be using. Typical message:

Error response from daemon: client and server don't have same version (client : 1.13, server: 1.12)

This may work better in docker-py, but we can put it in tmpnb before they make a release with API detection.

@rgbkrk
Copy link
Member Author

rgbkrk commented Aug 26, 2015

Apparently you can just set 'auto' for the version. Straight from the docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants