Docker part 2
Architecture
- They are not mutually exclusive to VM’s
- Can be run inside of a VM on top of the OS or on top of the native OS
Basics
- Docker image
- Snapshot of container. Blueprint of container.
- Docker container
- Standard unit of encapsulation where the application resides
- Docker engine
- Instantiates the Docker image, builds and runs the container
- Docker registry
- Stateless server side application to store and distribute Docker images
- Docker machine
- Installs the infrastructure for Docker engine to run on Docker host
- Docker swarm
- Tool for managing clusters of Docker engines
- DockerFile
- Defines the environment inside a container. Things like port mappings and runtime dependencies go here