failed to register layer: devmapper:Thin Pool has 207894 free data blocks which is less than minimum required 320123 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior
解决方法:
docker rm $(docker ps -q -f status=exited)
docker volume rm $(docker volume ls -qf dangling=true)
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
systemctl daemon-reload
systemctl restart docker.service
docker 默认/var/lib/docker/devicemapper/devicemapper/date文件大小为100g
vim /usr/lib/systemd/system/docker.service
docker启动参数增加ExecStart=/usr/bin/dockerd 后面增加 --storage-opt dm.loopdatasize=200G
注: 生产环境最好确定清楚是否可以删除
借鉴:
| https://blog.csdn.net/guoshaoliang789/article/details/96877679