Error starting daemon: error initializing graphdriver: devmapper: Device docker-thinpool is not a thin pool
解决办法:
删除以上逻辑卷:
lvremove /dev/docker/thinpool
lvremove /dev/docker/thinpoolmeta
查看机器挂载明细
lvdisplay docker info lsblk pvcreate /dev/vdb1 vgcreate docker /dev/vdb1 vgdisplay docker lvcreate --wipesignatures y -n thinpool docker -l 95%VG lvcreate --wipesignatures y -n thinpoolmeta docker -l 1%VG lvconvert -y --zero n -c 512K --thinpool docker/thinpool --poolmetadata docker/thinpoolmeta vi /etc/lvm/profile/docker-thinpool.profile lvs -o+seg_monitor vim /etc/docker/daemon.json rm -rf /var/lib/docker/* systemctl daemon-reload systemctl start docker docker ps
vi /etc/lvm/profile/docker-thinpool.profile
vim /etc/docker/daemon.json