Pulling docker image uses too many inodes (no space left on device)
intgr opened this issue · 0 comments
intgr commented
I kept hitting the following error while trying to use this image:
Sending build context to Docker daemon 384kB
Step 1/19 : FROM docker.io/rocm/tensorflow-autobuilds:latest
latest: Pulling from rocm/tensorflow-autobuilds
...
7043cf977ac9: Pull complete
29590d8cf13a: Extracting [==================================================>] 2.295GB/2.295GB
...
dfdc21b64fe2: Download complete
failed to register layer: ApplyLayer exit status 1 stdout: stderr: write /opt/rocm-5.1.0/rocfft/lib/librocfft-device-2.so.0.1.50100: no space left on device
It wasn't obvious that I'm not running out of disk space, but ext4's inode space on my root partition (see df -i
).
For anyone else who is stuck with this error, my solution was to move Docker data directory, via /etc/docker/daemon.json
:
{
"data-root": "/home/docker"
}
But it would be preferrable to reduce the inode usage of this image.