Fedora 34 Docker Image failing to build due to Disk I/O error (Digital Ocean App Platform host)

Solution 1:

Just a guess but the error seems to affect the sqlite backend used by dnf. This kind of error has something to do with the write on the disk. Have you checked that on this host you have enough disk space allocated to the container runtime, Docker for example. The following command can help checking disk usage.

docker system df

Source

You can also check the space on disk available for example.

df -h /var/lib/docker