Debug School

Sivakumar S
Sivakumar S

Posted on

Docker Images

  1. Docker image is collection of filesystems in simple.
  2. Docker images contains the ROOTFS (root file system), USERFS (user file system), APPFS (application file systems for OPENJDK,TOMCAT and CUSTOMAPPS).
  3. ROOTFS and USERFS together called as basic layer of an image.
  4. APPFS (for example: openjdk, tomcat, custom app) together called as application layer of an image.
  5. to fine the storage driver used by docker server, run docker info and see the storage driver output.
  6. overlay2 is one of the storage driver used in docker to store docker images.
  7. overlay2 directory is located inside of DOCKER-ROOT directory, whenever we pull images from other repository (like docker hub), that image layers will be stored in overlay2 directory as image layer sub directories.
  8. when we create docker runtime, all layers of that image will be merged as single layer and attached to container as single mount (MNT) file system.
  9. whenever we make changes (like writing file/updating file), that changes will get updated in both merged layer and image layer.
  10. Docker uses sha2-256bit algorithm for encryption of docker images.

Top comments (0)