# Use direct-lvm with device mapper storage driver

Red Hat Enterprise Linux 7
To use Docker in production with the device mapper storage driver, the Docker daemon should be configured to use direct-lvm instead of loopback device as a storage.
^(?!#).*(?:--storage-opt[\s=]dm\.thinpooldev=([^\s]*)).*$
1
^(?!#)\s*STORAGE_DRIVER\s*=\s*"?([a-z]*)"?\s*$
1
devicemapper
/etc/sysconfig/docker-storage
/usr/lib/docker-storage-setup/docker-storage-setup