System Design
14. Cloud ArchitectureAnimated
Docker
The most popular container tool.
The idea
Docker builds images from a Dockerfile and runs them as containers.
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
- 1Write a Dockerfile
- 2Build an image
- 3Push to a registry
- 4Run containers anywhere
Where it is used
Packaging apps.
Watch out for
Large images and running as root.