How Docker is different from a virtual machine

0 votes

Hi Guys,

I am new to container technology. I am trying to learn the architecture of Docker. But I am not able to understand how Docker is different from a virtual machine?

Dec 23, 2020 in Docker by akhtar
• 38,260 points
787 views

1 answer to this question.

0 votes

Hi@akhtar,

Docker is container-based technology and containers are just user space of the operating system. At the low level, a container is just a set of processes that are isolated from the rest of the system, running from a distinct image that provides all files necessary to support the processes. It is built for running applications. In Docker, the containers running share the host OS kernel.

A Virtual Machine, on the other hand, is not based on container technology. They are made up of user space plus kernel space of an operating system. Under VMs, the server hardware is virtualized. Each VM has an Operating system (OS) & apps. It shares hardware resources from the host.

answered Dec 23, 2020 by MD
• 95,460 points

Related Questions In Docker

0 votes
1 answer

How is docker machine different from docker engine?

Docker machine is different from Docker engine ...READ MORE

answered Jul 4, 2019 in Docker by Sirajul
• 59,230 points
28,820 views
0 votes
2 answers
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
• 59,230 points
5,162 views
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
1,957 views
+2 votes
1 answer
+2 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
• 58,020 points
2,719 views
0 votes
1 answer

How to find a Docker container IP address from the command line?

Hi@akhtar, You can use the docker inspect command ...READ MORE

answered Sep 4, 2020 in Docker by MD
• 95,460 points
4,049 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP