docker pull 时报错Create more free space in thin pool or use dm.min_free_space option to change behavior

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

解决方法:

1. Cleanup exited processes:
    docker rm $(docker ps -q -f status=exited)

2. Cleanup dangling volumes
    docker volume rm $(docker volume ls -qf dangling=true)

3. cleanup dangling images 
    docker rmi $(docker images -f "dangling=true" -q --no-trunc)

 

posted @ 2018-08-14 16:10  _Goku  阅读(1401)  评论(0编辑  收藏  举报