- Technology that bundles the code for an application and the configuration required to run the code, into one unit.
- Advantages of containers.
- Portable
- Run on any Windows, Linux or macOS machine.
- Use less CPU and memory resources.
- Self-contained with all required dependencies included.
- Quick replications and can elastically scale up and down.
- Terminology:
- Image - container image is a file with executable code, can be ran as a container.
- Container Registry - database that stores container images. Can be made publicly or privately available.
- Examples are:
- Docker Hub
- Quay
- Google Container Registry
- Docker Alternatives:
- podman
- Containerd
- rkt
- LXD
- Docker’s mascot is Moby Dock.