For anyone landing here with the same issue, if you're on Windows & suddenly started getting this error when using docker for local development, try restarting WSL2 or your machine. The problem was probably related to out of memory virtual hard disk.