Docker is more resource-saving than kvm and can provide performance very close to the host machine, while kvm resource isolation is higher than docker, and kvm supports more types of operating systems
On the application side, docker (withstands the toss, fast deployment speed), on the system side, kvm (host isolation, also supports snapshots)
Separate explanation type:
Docker is containerized. Startup can be achieved in seconds, which is much faster than traditional virtual machines. Docker has a high utilization rate of system resources. Thousands of Docker containers can run simultaneously on a host.
Advantage:
Efficient use of system resources
Fast startup time
Consistent operating environment
Continuous delivery and deployment
Easier maintenance and expansion
KVM is an open source system virtualization module. It uses liunx's own scheduler management. After virtualizing multiple physical machines with kvm, a large virtualized resource pool is formed to facilitate users to allocate computing power from the resource pool. Improve the efficiency of resource use and ensure the isolation and security of multi-user resources