Skip to content
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

Missing config for specifying version for pip package docker-py version #27

Closed
PikachuEXE opened this issue Dec 24, 2014 · 1 comment
Closed

Comments

@PikachuEXE
Copy link
Contributor

I am using docker 1.3.3, and docker-py 0.6.0.
On a new machine, I found out this role installed docker-py 0.7.0, which uses a newer API version, and return error on every docker module task.

My current "fix":

---
- name: Remove Docker-py with wrong version
  pip:
    name: "docker-py"
    state: "absent"
- name: Install Docker-py with correct version
  pip:
    name: "docker-py"
    state: "present"
    version: 0.6.0
@angstwad
Copy link
Owner

angstwad commented Mar 1, 2015

Unfortunately dockerpy and docker releases aren't always in sync. I've seen several such issues where dockerpy adds API calls not yes released in the stable docker API. I'm not sure we should attempt to resolve this issue in this role, since the issue is upstream, intermittent, and unpredictable.

It's good info to know, regardless. Thanks.

@angstwad angstwad closed this as completed Mar 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants