Docker Create Dockerfile error message

Hallo,
in the course chapter 5 choosing the right base by trying to build a Dockerfile I receive the following error message:
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount4210138664/Dockerfile: no such file or directory

How can I solve this problem?
regards Freddie