docker扩容

docker启动状态下
查看/dev/mapper/目录下内容
修改的大小=250*1024*1024*1024/512= 524288000  

dmsetup table docker-8:5-26738692-7e4658534caa45369bf7b504e7a9e65f4b7a78adce9284221aa4b9e66497044b
echo 0 524288000 thin 253:0 49 | dmsetup load docker-8:5-26738692-7e4658534caa45369bf7b504e7a9e65f4b7a78adce9284221aa4b9e66497044b
dmsetup resume docker-8:5-26738692-7e4658534caa45369bf7b504e7a9e65f4b7a78adce9284221aa4b9e66497044b
dmsetup table docker-8:5-26738692-7e4658534caa45369bf7b504e7a9e65f4b7a78adce9284221aa4b9e66497044b
xfs_info /dev/mapper/docker-8:5-26738692-7e4658534caa45369bf7b504e7a9e65f4b7a78adce9284221aa4b9e66497044b
xfs_growfs /dev/mapper/docker-8:5-26738692-7e4658534caa45369bf7b504e7a9e65f4b7a78adce9284221aa4b9e66497044b

你可能感兴趣的:(docker)