Requests to docker-machine created boot2docker host

For fast development purposed I spin a MongoDB container on boot2docker on the standard MongoDB port and then I just connect to the database on the boot2docker ip on that port. Currently its

192.168.59.105:27017

With docker-machine I created a new boot2dockers named “host” which has the ip 192.168.99.113 where I installed docker-compose to spin MongoDB + a data container. But contrary to the default boot2docker, I cant seem to connect to Mongo on that machines ip (I get the ip with docker-machine ip host)

  • Docker not finding php's mysql extension
  • Running docker with boot2docker on mac os x?
  • docker compose vs docker run - node container
  • Docker: Compressing Directories in Image
  • Jenkins in docker with access to host docker
  • How to connect to mysql created by docker-compose
  • 192.168.99.113:27017
    

    In this case I don’t get a connection, I don’t even see the MongoDB warning message when I put that address on Chrome. Am I missing some critical configuration step to make this happen?

  • Vagrant with docker provisioning
  • Cannot restart the MySQL Docker container, gives errors like `Can't open the mysql.plugin table` and `Table 'mysql.user' doesn't exist`
  • using docker stack deploy on oracle linux 6
  • Environment variables and @Value can't work together on Spring Boot
  • Docker: Using MacOS, how can I pull CENTOS behind a proxy?
  • Docker Client server different. And there is no boot2docker
  • One Solution collect form web for “Requests to docker-machine created boot2docker host”

    Create a port forwarding for port 27017 in VirtualBox for your docker-machine named host.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.