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

Installation of docker compose without using pip fails #24

Closed
NateV opened this issue Jun 20, 2018 · 3 comments
Closed

Installation of docker compose without using pip fails #24

NateV opened this issue Jun 20, 2018 · 3 comments

Comments

@NateV
Copy link

NateV commented Jun 20, 2018

Hi,
Nice work here. I was trying to install docker-compose the way you do here (and the way Docker recommends) with curl. But I kept running into errors about the compose module not being available, which I finally solved by installing docker-compose with pip.

How'd you avoid that problem?

Thanks!

@nickjj
Copy link
Owner

nickjj commented Jun 20, 2018

Hi,

What OS / version are you using? What was the state of the system before you installed Docker / Compose?

I never experienced that issue. Just using this role should be good enough to get up and running with no additional installation steps.

@NateV
Copy link
Author

NateV commented Jun 21, 2018

Hmm. I'm using ubuntu xenial. Its possible there's conflicting python modules. I imagine your playbook assumes a machine that didn't have docker-py or docker python modules installed with pip. My machine is a little messy. The pip install approach has worked now, and its probably best for me just be happy with that, rather than trying to keep digging at this. Thanks!

@NateV NateV closed this as completed Jun 21, 2018
@nickjj
Copy link
Owner

nickjj commented Jun 21, 2018

My playbook consists of bootstrapping a machine to run Ansible, doing a few other system related things, installing Docker / Docker Compose with this role and then running my Dockerized applications.

I have never installed docker-py.

You might want to run which docker-compose to see if it's using the curl version or your pip version.

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