nlf / dlite

The simplest way to use Docker on OS X
MIT License
2.34k stars 53 forks source link

docker-compose + dlite #183

Closed ycherfan closed 8 years ago

ycherfan commented 8 years ago

Hi! Is it possibile to use docker-compose with dlite? I can't find docker-compose inside dlite virtual machine and when I run docker-compose outside dlite it prints the message: "ERROR: Couldn't connect to Docker daemon - you might need to run docker-machine start default."

residentsummer commented 8 years ago

Yes, it is possible to use docker-compose with dlite. That error message suggests that there is something wrong with your setup - docker-compose is trying to connect to docker by wrong address. Maybe you have DOCKER_HOST env var left from docker-machine? Try this:

unset DOCKER_HOST; docker ps

If it's working, docker-compose should work as well.

ycherfan commented 8 years ago

Problem solved. Thanks!

On May 2, 2016, at 1:52, Anton S notifications@github.com wrote:

Yes, it is possible to use docker-compose with dlite. That error message suggests that there is something wrong with your setup - docker-compose is trying to connect to docker by wrong address. Maybe you have DOCKER_HOST env var left from docker-machine? Try this:

unset DOCKER_HOST; docker ps

If it's working, docker-compose should work as well.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/nlf/dlite/issues/183#issuecomment-216104840

residentsummer commented 8 years ago

You're welcome! Please consider closing the issue if it's resolved :)

nlf commented 8 years ago

closing it, thanks for the assist @residentsummer