How is docker machine different from docker engine?

0 votes
I am often confused with the terms Docker machine and Docker engine. Aren't these one and the same?
Jul 4, 2019 in Docker by Nizam

1 answer to this question.

0 votes

Docker machine is different from Docker engine and you can't use the two terms interchangeably. Here's how these two are different from each other.

By "Docker" we mean Docker Engine which is a client-server application made up of the Docker daemon, a REST API that specifies interfaces for interacting with the daemon, and a command line interface (CLI) client that talks to the daemon (through the REST API wrapper). Docker Engine accepts docker commands from the CLI, such as docker run <image>, docker ps to list running containers,docker image ls to list images, and so on.

Docker Machine is a tool for provisioning and managing your Dockerized hosts (hosts with Docker Engine on them). Typically, you install Docker Machine on your local system. Docker Machine has its own command line client docker-machine and the Docker Engine client, docker. You can use Machine to install Docker Engine on one or more virtual systems. These virtual systems can be local (as when you use Machine to install and run Docker Engine in VirtualBox on Mac or Windows) or remote (as when you use Machine to provision Dockerized hosts on cloud providers). The Dockerized hosts themselves can be thought of, and are sometimes referred to as, managed “machines”.

Hope this gives you a precise idea of their difference.

answered Jul 4, 2019 by Sirajul
• 55,300 points
can you draw a diagram for this?

Refer to this link for a diagrammatic explanation for a better understanding.

Related Questions In Docker

0 votes
1 answer

How is Docker different from other containerization methods?

Docker containers are very easy to deploy ...READ MORE

answered Jul 30, 2019 in Docker by Yamini
0 votes
1 answer

How to mount directories from a docker-machine to my local host?

You could do this using the docker-machine ...READ MORE

answered Jul 9, 2019 in Docker by Sirajul
• 55,300 points
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,200 points

edited Oct 16, 2018 by lina 13,896 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,550 points
0 votes
2 answers
0 votes
1 answer

How does save and export command work in docker and how are they different from one another?

Export : Export is used to persist a ...READ MORE

answered Jul 2, 2019 in Docker by Sirajul
• 55,300 points

edited Jul 2, 2019 by Sirajul 238 views