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 Introduction
- Docker and the difference between virtual machines
- Docker installation
- Docker Hub
- Docker mirror (image)
- Docker container (Container)
- Docker container operations
- Docker container shell
- Docker Dockerfile
- Construction Docker mirror (docker build)
- Docker Dockerfile instruction
- Docker examples
- Docker Compose
- Docker network
Docker is a lightweight virtualization technology, better than the traditional virtual machine performance.
The figure is the architecture of the virtual machine:
- 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:
- 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.