问题:在docker pull的时候遇到如下问题

failed to register layer: devmapper: Thin Pool has 107394 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
解决方法:

http://stackoverflow.com/questions/36918387/space-issue-on-docker-devmapper-and-centos7

Cleanup exited processes:

docker rm $(docker ps -q -f status=exited)
Cleanup dangling volumes:

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

docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
如果还是不行:
删除工作目录 rm -rf /var/lib/docker/*

// reload配置文件
systemctl daemon-reload
// 重启docker

systemctl restart docker.service