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

Docker compose failing at mongodb step on Arch Linux #7

Open
berquist opened this issue Aug 22, 2017 · 3 comments
Open

Docker compose failing at mongodb step on Arch Linux #7

berquist opened this issue Aug 22, 2017 · 3 comments

Comments

@berquist
Copy link

berquist commented Aug 22, 2017

From sudo docker-compose build:

Step 5/18 : RUN service mongodb start
 ---> Running in a7e2b3f72c20
 * Starting database mongodb
   ...fail!
ERROR: Service 'app' failed to build: The command '/bin/sh -c service mongodb start' returned a non-zero code: 1

Is this because I already have mongodb installed and running? I can test on an Ubuntu 12.04 box.

@nitish6174
Copy link
Owner

Having mongodb installed shouldn't be the reason I believe as I too had mongodb installed and running on my system.

I am using ubuntu 16.04. Not sure if this is a platform-specific issue.

@berquist
Copy link
Author

Yes, I thought the whole point of using Docker was that it's an isolated container. I'll try it on my 12.04 install. I also have a Mac but have heard bad things about installing/running Docker on it.

@ghutchis
Copy link
Collaborator

@berquist - I've run docker on a Mac. It's not "bad" - you just want to make sure you get the official Docker Mac build:
https://docs.docker.com/docker-for-mac/

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

3 participants