docker在运行新镜像时报错报错 reason:FailedSync, count:1, message:Error syncing pod, skipping: failed to "StartContainer" for "docker-11" with RunContainerError: "runContainer: Error response from daemon: {"message":"devmapper: Thin Pool has 3366757 free data blocks which is less than minimum required 3440640 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)