Reputation: 8178
Assuming that my application doesn't write a lot, do I really have to care about docker storage driver e.g. AUFS, Btrfs, DeviceMapper, etc.? I'm thinking about using the default one that comes with the installation.
Upvotes: 0
Views: 38
Reputation: 29117
Storage drivers are also used for storing the images that you download, and build, and influences, for example, the time it takes to delete an image, the amount of resources used when deleting images, or the time it takes to start a container from an image.
I'm thinking about using the default one that comes with the installation.
The 'default' one can vary between the distro you're running on (Debian, Ubuntu, CentOS), the version of the distro, and the kernel version. Docker picks the first available driver on your system, using this order: driver_linux.go#L51-L58. However, depending on your use-case, selecting a different driver may have benefits. For example, Docker prioritizes "devicemapper" over "overlay", even though "overlay" is a lot faster than devicemapper, but still has some issues that affects some users (see the issue tracker.
For more in-depth information about the available drivers, and information to decide which driver best suits your use case, see this section of the documentation: https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/
Upvotes: 1