Docker Images
Bootfs - Linux VM Single Container 2 Containers
(Docker-Machine) (Container merely a r/w layer on image) (1 Server in DM/Linux/Kernel)
- Images are read-only templates that are used to create containers
- Created with $ docker build command
- Composed of “layers” of other images
- Can see these layers $ docker history <image-name>
- Stored in a Docker registry
- Registry is where we store our images (ie, DockerHub.com, Github)
- Repository - same image but different versions & tags
- Repository is just like a github repository
- versions / tags - like git commits and their associated messages
- DockerHub.com
- Registry for Docker images
- Note the “Official” images
- Reviewed by Docker Team. Created for general use cases
- Updated with Security patches as they become known
- Good place to start is with “Official” Docker images
- Images are read-only templates that are used to create containers