Home > Common Problem > body text

The difference between docker and virtual machine

(*-*)浩
Release: 2019-06-21 15:17:46
Original
4505 people have browsed it

Docker is written in Golang. Since its launch in 2013, it has attracted the attention of more and more developers. If you follow the latest technology developments, you must have heard of Docker.

The difference between docker and virtual machine

#First of all, everyone needs to be clear that Docker containers are not virtual machines. (Recommended learning: Docker video tutorial)

Docker keeps promoting to everyone, Virtual machine needs It takes minutes to start, while a Docker container only takes 50 milliseconds."

The essential difference:

VM (VMware) creates a virtual layer and virtualization based on the host machine and the host machine operating system operating system and virtualized warehouse, and then install the application;

Container (Docker container) creates a Docker engine on the host machine and the host machine operating system, based on the engine Install the app again.

Then the question is, how to run the program without an operating system?

You can create an ubuntu image file in Docker, so that the ubuntu system can be integrated into Docker, and all running applications will be ubuntu applications.

The above is the detailed content of The difference between docker and virtual machine. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template