I am testing a lot of micro services. I group some of them in a file to create dockers, for example:
agent: image: php:fpm volumes: - ./GIT:/reposcm:ro expose: - 9000 links: - elastic elastic: image: elasticsearch expose: - 9200 - 9300
Then I start first on $docker-compose up
In another directory, I would run another "microservice" on $docker-compose up . But I get:
ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`.
How can I specify a docker machine for docker-compose.yml?
$docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM default - virtualbox Running tcp:
Only the default machine can run a microservice.
How to specify the target machine docker-compose.yml ?
source share