failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to create lease: write /var/lib/docker/buildkit/containerdmeta.db: read-only file system
I had the same issue and all I had to do was to capitalize the docker configuration filename
dockerfile > didn't work
Dockerfile > did work