What is Storage Driver and types of Storage Driver?


The Linux kernel device drivers are, essentially, a shared library of privileged, memory resident, low level hardware handling routines. It is Linux’s device drivers that handle the peculiarities of the devices they are managing. One of the basic features of is that it abstracts the handling of devices

The following is a list of the types of docker storage driver which can be configured and their use case:

• overlay2 – This is the preferred storage driver for all Linux distributions
• aufs – Preferred driver for earlier versions of Docker, when running on an earlier version of Ubuntu.
• devicemapper – Requires direct-lvm. Was the recommended driver for earlier versions of Centos and RHEL. Current versions support overlay2, which is the recommended driver.
• btrfs – Used if this is the backing file system
• zfs – Used if this is the backing file system
• vfs – Used for testing purposes only.