devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free dat

Posted 会飞の鱼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free dat相关的知识,希望对你有一定的参考价值。

问题:

制作镜像的时候报错

devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior

 

解决方案:

 

运行下面三个命令: 
// 注意,以下三个命令执行时可能出错是正常的。

清理exited进程:

docker rm $(docker ps -q -f status=exited)


清理dangling volumes:

docker volume rm $(docker volume ls -qf dangling=true)

 

清理dangling image:

docker rmi $(docker images --filter "dangling=true" -q --no-trunc)



以上是关于devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free dat的主要内容,如果未能解决你的问题,请参考以下文章

docker Thin Pool问题处理

linux内核dm thin pool分析

docker中的“Thin Pool”是啥意思?

graph driver-device mapper-03thin pool基本操作

ContentProvider Cannot perform this operation because the connection pool has been closed 细节讲解配上详细图解

启动docker容器时的Error response from daemon: devmapper: Error mounting: invalid argument. 错误解决