1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Add examples of storage-opts and log-opts for the daemon

Signed-off-by: Alvin Deng <alvin.q.deng@utexas.edu>
This commit is contained in:
Alvin Deng 2017-04-19 16:35:04 -05:00
parent 4bcb02b785
commit c79bf50ba6

View file

@ -302,6 +302,24 @@ options for `zfs` start with `zfs` and options for `btrfs` start with `btrfs`.
#### Devicemapper options
This is an example of the configuration file for devicemapper on Linux:
```json
{
"storage-driver": "devicemapper",
"storage-opts": [
"dm.thinpooldev=/dev/mapper/thin-pool",
"dm.use_deferred_deletion=true",
"dm.use_deferred_removal=true"
],
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "10"
}
}
```
##### `dm.thinpooldev`
Specifies a custom block storage device to use for the thin pool.