Ubuntu server Docker machine network ip address

I have two ubuntu servers 16.04 with docker-machine installed. The servers have ip x.x.x1 and x.x.x.2, which is the servers’ network and I want to create docker-machine vm’s (virtualbox) with ip’s from the server networks, like virtualmachine01 with ip x.x.x.3 inside of one of servers, and so on.

When I try:

  • Workers dying early due to uneven work distribution in Luigi (2.6.1)
  • docker and composer install
  • Docker container not showing volume mounted - Access issue
  • Docker Windows Container - DockerFile set iis default document
  • Accessing docker container from iOS Simulator
  • Where mongoimport store the document in a Docker container
  • docker-machine create –driver virtualbox –virtualbox-hostonly-cidr “x.x.x.1/24” virtualmachine01,

    I get the error:

    Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: host-only cidr conflicts with the network address of a host interface.

    Can I create vm´s with physical ip address using docker-machine? If not, how can I create a docker engine swarm with only two machines? 🙁

    Sérgio Marques

  • How to connect two docker containers through localhost?
  • Best practice for connecting to a vpn though docker [closed]
  • docker build purely from command line
  • NGINX Reverse Proxy failing with Linked Docker Containers
  • How to setup xdebug and PhpStorm with docker for Windows (beta)
  • autoexpect on docker centos6.6 container cannot work
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.