Docker and the difference between virtual machines

Creative Commons License Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )

Copyright, without permission, is prohibited reprint


chapter


Docker is a lightweight virtualization technology, better than the traditional virtual machine performance.

The figure is the architecture of the virtual machine:

Virtual Machine Architecture

  • Server - represents a real computer.
  • OS Host - real computer operating system, such as: Windows, Linux
  • Hypervisor - a virtual machine platform, analog hardware, such as VMWare, VirtualBox
  • OS the Guest - installed on the virtual machine operating system platform, such as CentOS Linux
  • App - applications on the virtual machine operating system, such as nginx

The figure is the architecture of Docker:

Docker architecture

  • Server - represents a real computer.
  • OS Host - real computer operating system, such as: Windows, Linux
  • Engine Docker - a new generation of virtualization technology need not include a separate operating system.
  • App - All applications now run as a Docker container.

Obvious advantage of this architecture is not required to provide analog hardware for the virtual machine operating system. All applications will work as a Docker container, and better performance.

Guess you like

Origin blog.csdn.net/weixin_43031412/article/details/94598692