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:

  • Amazon ECS error: cannot create a task definition with no containers
  • How to dynamically set environment variables of linked containers?
  • building docker image from dockerfile
  • How to give Dockerfile input parameters from docker run command
  • Docker: Is it possible to share data between 2 containers without a volume?
  • TLS failed in Docker
  • 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
    

  • how to run chown in Bluemix container to write to a Bluemix volume
  • Using libcontainer on LXC
  • Run Docker containers with Jenkins
  • Getting cron to run on php:7-fpm image [closed]
  • How to restore postgres within a docker?
  • Docker container isolation, does it care about underlying Linux OS?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.