What is a Docker image. Explain in 10 points.
- Docker image is a repository.
- It is just a name for human beings to remember instead of numbers.
- 100s of base docker images are stored in hub.docker.com called registry.
- Docker image consists of multiple filesystems -- ROOTFS + USERFS + ... //This both together are called base image
- Docker image consists of multiple filesystems OR it is a collection of multiple filesystems.
- Docker image has file system versioning.
- File systems are called layers as they are on top of each other in the docker images.
- Each layer has a unique shad ID.
- All these layers merge to create one layer called mount.
- Mount gets attached during runtime to the user.
- Changes made like writing file, updating file, etc. are updated in both merged layer and image layer.
- For encrypting docker images, sha2-256bit algorithm is used.
Top comments (0)