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.

  • Neo4j HA model don't work in docker
  • How do I add a package to an already existing image?
  • How to connect to a dockerized PostgreSQL from (an undockerized) Python app
  • Development environment setup for Mac and CentOS using Docker
  • Docker compose redundancy?
  • what should I set in HTTP_HOST environment variable inside a docker for appengine task queue?
  • 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?

  • DockerToolbox for win7 service unavailable error
  • rsync through ssh cannot find uppercase remote host (an other container in Docker)
  • How can I grab exposed port from inspecting docker container?
  • How to run Docker deamon on shared Linux kernel?
  • A completely closed source docker container
  • How do I get the container ID of a non-running container?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.