Anyone Facing this error and even your client and docker architecture is same. Just try running:
docker system prune -a
I don't know exact reason why, but probably some docker system images currpoted, running this and then building worked for my. Btw i'm on windows