System Design
14. Cloud ArchitectureAnimated
Containers
Lightweight isolated processes sharing the host kernel.
The idea
A container packages an app with its dependencies and starts in seconds.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Containers share the host's kernel.
- step:
- 1/4
- at:
- Host OS kernel
1/8
The green dot is a request moving through the system.
Step by step
- 1Build an image
- 2Start a container from it
- 3It runs isolated
- 4Stop and replace it
Where it is used
Modern deployment.
Watch out for
Shared kernel means weaker isolation than VMs.