Make Docker4Mac and vagrant see each others network

I have API which runs in vagrant and I have consumers which run in docker containers.

The thing is that previously, with docker-machine I was able to put vagrant and docker-machine into same network rather easy.

  • Connect shipyard with existing docker images?
  • Best workflow for developing and debugging - initially deploy in a docker environment
  • Is there a way to setup bluemix as $DOCKER_HOST and use it with the docker binary?
  • How to move Docker containers to AWS
  • ERROR 1582 (42000) Incorrect parameter count in the call to native function 'FROM_UNIXTIME'
  • How should I structure dockerized RabbitMQ?
  • With Docker4Mac it seems a little bit difficult to do it in some automated way. At this moment what I am doing is I add my vagrant host as alias for l0.

    What would be the way to make life easier?

  • How to change Docker ENV var?
  • How to convert docker-compose setup to docker image?
  • connecting to local mongodb from docker container
  • Docker created with docker-compose not visible from outside server
  • Running Chromium inside Docker - Gtk: cannot open display: :0
  • Celery workers in a docker swarm or rancher cattle
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.