Mark Goddard 07a33c67df Configure Docker to use direct-lvm storage backend
The loopback configuration is not recommended for production, whereas
direct-lvm is.
2017-03-15 09:44:17 +00:00

9 lines
288 B
Django/Jinja

{
"storage-driver": "devicemapper",
"storage-opts": [
"dm.thinpooldev=/dev/mapper/{{ docker_storage_volume_group | replace('-', '--') }}-{{ docker_storage_volume_thinpool | replace('-', '--') }}",
"dm.use_deferred_removal=true",
"dm.use_deferred_deletion=true"
]
}