Docker on mac with VirtualBox VM in Bridged mode

I tried changing adapter 2 of the ‘default’ VM used by docker from ‘host-only’ to ‘bridged’ in order to being able to access the docker containers from other machines in the local network of the host.

What I get after running the terminal command is this message:

  • Unable to start jenkins auctomatically inside docker container
  • Docker - Share environment variables with referenced volume containers
  • Running NSQ in Docker
  • DigitalOcean, Docker, Dokku: Installing Firefox inside a container
  • Which way is faster when access a service in docker container?
  • Docker Container CPU Usage
  • docker does not like bridged mode for VM

    What I need to do so that docker access the VM in bridged mode?

    These are my docker versions for client and server:

    docker version
    Client:
     Version:      1.13.1
     API version:  1.26
     Go version:   go1.7.5
     Git commit:   092cba3
     Built:        Wed Feb  8 08:47:51 2017
     OS/Arch:      darwin/amd64
    
    Server:
     Version:      1.13.1
     API version:  1.26 (minimum version 1.12)
     Go version:   go1.7.5
     Git commit:   092cba3
     Built:        Wed Feb  8 08:47:51 2017
     OS/Arch:      linux/amd64
     Experimental: false
    

  • Volumes mounting as folders
  • Can you add initial data to a volume in Docker that is available on pull?
  • Docker-compose service with --service-ports flag as default
  • volume mounts preventing startup in container
  • Running docker on Android
  • How to tell docker worker node belong to which swarm?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.