修改CentOs7 上Docker預設檔案系統DeviceMapper為OverlayFS
1 2 3 4 5 |
{
"storage-driver" : "devicemapper" ,
"storage-opts" : [ "dm.thinpooldev=/dev/mapper/docker-thinpool" , "dm.use_deferred_removal=true"
]
}
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# docker info
Containers: 11
Images: 63
Storage Driver: devicemapper
Pool Name: docker-252:1-679218-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file : /dev/loop0
Metadata file : /dev/loop1
Data Space Used: 2.221 GB
Data Space Total: 107.4 GB
Data Space Available: 9.648 GB
Metadata Space Used: 4.166 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.143 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Data loop
|