Docker 拉取镜像的时候报错
docker: failed to register layer: Error processing tar file(exit status 1): mkdir /usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/NFKCQC: no space left on device.
Github 上也有人指出该错误
原因是 inodes 资源耗尽 , 清理一下即可
df -i
sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
curl -s https://raw.githubusercontent.com/ZZROTDesign/docker-clean/v2.0.4/docker-clean |
sudo tee /usr/local/bin/docker-clean > /dev/null && \
sudo chmod +x /usr/local/bin/docker-clean
docker-clean
网友评论