Docker Community Forums

Share and learn in the Docker community.

Looking for docker-machine info or tutorials

(Edutori) #1

Hi guys, I am starting to deal with a project where the goal is trying to migrate from VMware Virtual Machines to Docker. I am trying to figure it out how my approach will look like and one of the ideas coming up to my mind is the chance of using Docker-machine. So my questions are:

Is it DM ready for enterprise environments?
Is there any more info or tutorials that the ones I have read on the official blog?
I assume DM works for bare metal and you don´t need Virtual Box or any Cloud provider, is it right?

Thanks a lot,

(Andy Rothfusz) #2

Docker Machine is still in Beta and is probably not ready for production usage yet (I’m saying this on 13 April 2015). It provides a way to create and manage remote hosts (or local VMs) and install Docker on them.

I’m not sure what you mean about DM working on bare metal. It is a management tool. The thing that runs on bare metal is the Docker daemon, assuming that bare metal is running a version of Linux. DM is not an operating system or virtualization system.

Machine makes it really easy to create Docker hosts on your computer, on cloud providers and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them.

(Edutori) #3

Bare metal meaning I will install RHEL and Docker daemon, but I´d like to split that server without using Virtual Machines, so I understand Docker-machine provides the feature of running an array of docker hosts. The issue is I´ve been told DM only works with cloud providers or Virtual Box, what they call “drivers” and I need to install DM in the RHEL system, without Virtual Box, remote cloud instances, …

Thanks a lot for your answer.

(Andy Rothfusz) #4

If you have the Docker daemon running on a host, that should be all you need to “split” that server. Each Docker container would be one “split”.

(Edutori) #5

Thanks Rufus, but it is not the same running 50 containers in a single docker host that 5 Docker-machines with 10 containers as that brings you the chance to isolate environments (sandbox, dev, …) or per application type.

However my main question still in the air: Does Docker-Machine works in a physical server without Virtual Box/VMware or any other driver (cloud servers)?


(Andy Rothfusz) #6

Does Docker-Machine works in a physical server without Virtual Box/VMware or any other driver (cloud servers)?


(Edutori) #7

Now clear :smile:
Thanks a lot, will try to deal with Kubernetes, maybe I won´t get isolation but I will availability.

(Edutori) #8

Well, now it turns out it works according to Jérôme Petazzoni on teh question if Docker Machine works on bare metal:

@TodoLinux @docker It can work on physical machines as well. Deploy it, then add it with --url for instance.