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:

  • How do I setup a read only private docker registry using just HTTP?
  • Adding services in different consul clients running on same host
  • Override .dockerignore file when using ADD
  • Starting jupyterhub with docker
  • Pushing to private docker registry fails
  • Docker Container from php:5.6-apache as root
  • 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? 🙁

    Thanks,
    Sérgio Marques

  • mongodb connection refused docker-compose
  • Port forwarding issues trying to run a docker container
  • Update docker container when new image is getting released
  • Facing ISsue while pulling images in Docker
  • copy a single file to docker image
  • Unable to connect to Docker Nginx build
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.