Containers | Virtual Machines | |
---|---|---|
Representative | Docker1 | VirtualBox |
Shared | HW + OS2 | HW |
Daemon | Engine | Hypervisor |
Persistence | Image | Image |
Instance | Container | VM |
Workflow |
|
|
Pros |
|
|
1 Docker uses Linux for its Containers.
2 Docker uses cgroups (resource restriction) and namespaces (isolation).