参考: https://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device

执行cicd时报错no space left on device

但执行df -ih发现还有空间

使用docker system prune清理(期间也可以使用ncdu插件进行查看哪个路径下占用体积过大,按c显式detial)

此命令会对如下组件进行删除

1
2
3
4
- all stopped containers
- all networks not used by at least one container
- all dangling images
- all dangling build cache