nerdexam
Docker

DCA · Question #28

If installing Docker using devicemapper for storage with the Intent to run production workloads, how should devicemapper be configured

The correct answer is A. direct-lvm. For production workloads utilizing the devicemapper storage driver, Docker should be configured in direct-lvm mode for optimal performance and reliability.

Submitted by dimitri_ru· Apr 18, 2026Storage

Question

If installing Docker using devicemapper for storage with the Intent to run production workloads, how should devicemapper be configured

Options

  • Adirect-lvm
  • Bloop-lvm
  • Coverlay-lvm
  • Daufs-lvm

How the community answered

(23 responses)
  • A
    74% (17)
  • B
    4% (1)
  • C
    13% (3)
  • D
    9% (2)

Why each option

For production workloads utilizing the devicemapper storage driver, Docker should be configured in `direct-lvm` mode for optimal performance and reliability.

Adirect-lvmCorrect

The `direct-lvm` mode configures the devicemapper storage driver to use raw block devices or LVM logical volumes directly. This approach is recommended for production environments as it provides better performance and stability compared to using loopback devices.

Bloop-lvm

The `loop-lvm` (loop-back device) mode for devicemapper is primarily for testing or development due to its ease of setup, but it incurs significant performance penalties and is not suitable for production use.

Coverlay-lvm

`overlay-lvm` is not a standard or recognized devicemapper configuration mode; 'overlay' and 'devicemapper' are distinct Docker storage drivers.

Daufs-lvm

`aufs-lvm` is not a valid devicemapper configuration; AUFS is a separate storage driver and is not combined with LVM in this manner, nor is it recommended for modern Docker deployments.

Concept tested: Docker devicemapper production configuration

Source: https://docs.docker.com/storage/storagedriver/devicemapper-driver/

Topics

#Docker storage#devicemapper#production workloads#LVM

Community Discussion

No community discussion yet for this question.

Full DCA Practice