I want to spawn 3 services in the "host" net using docker-compose. Here is my docker-compose.yml file:
I got the following error:
$ docker-compose up
[31mERROR[0m: Validation failed in file '.\docker-compose.yml', reason(s):
Unsupported config option for services.app: 'net'
Unsupported config option for services.mysql: 'net'
Unsupported config option for services.nginx: 'net'
I'm using boot2docker on windows.
Docker, and Docker-compose version:
$ docker -v
Docker version 1.10.2, build c3959b1
$ docker-compose -version
docker-compose version 1.6.0, build cdb920a
If I run all services manually by using docker run --net = "host" everything is working fine.