I’m using the docker-compose command to build two containers and run it. I use a mysql and an apache image. I want to run it as host network. On my computer it works very well. My college uses docker toolbox and he has some troubles. The mysql and apache server is not reachable by localhost. It is only reachable by a created ip address, which is assigned from docker. Why is it so? How can I configure the yml, that the host network is used by the two containers.
The configuration files looks like: