##Storage Driver:
---------------
Provides temporary internal storage for containers.
Manages and controls how images and containers are stored on your Docker host.
##Docker Storage:
-----------------
Store and manage container data.
##Two types of storage:
-----------------------
1. Non Persistent
2. Persistent
##Non Persistent Storage:
Data resides within the container
Get deleted when container deleted
All container has it by default.
##Storage Drivers:
RHEL/Latest Ubuntu & CentOS uses Overlay2
Ubuntu 14 and older uses aufs
CentOS 7 and older uses devicemapper
Windows uses its own.
Storage Location:
Linux: / var /lib/docker/[STORAGE DRIVER
Windows: C: ProgramData Docker windowsfilter
Persistent Storage:
Data does not reside within the container
Does not get deleted when container deleted
Two types Persistent Storage:
1.Volumes:
Mounted to a directory in a container.
Storage Location:
Linux: / var /lib/docker/volumes
Windows: C: ProgramData Docker volumes
Supports 3 rd party drivers:
Block Storage e.g. Amazon AWS EBS.
File Storage e.g. Amazon AWS EFS.
Object Storage e.g. Amazon AWS S3.
2.Bind Mounts:
File or directory on the host system is mounted into a container’s file or directory.
Reference Doc :
https://docs.docker.com/storage/stora... storage driver
https://success.docker.com/article/co... matrix
https ://docs.docker.com/storage
Watch video 24. Docker: Persistent and non persistent storage online without registration, duration hours minute second in high quality. This video was added by user iMustLearn 15 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 212 once and liked it 3 people.