"Dockerfile" or "dockerfile"?

I heard during a course that we must use the “Dockerfile” filename with an uppercase “D”.

I used “dockerfile” and I didn’t see any issues.

So what’s the deal?

Thanks

is that on windows?

by default the name is with capital leading char, Dockerfile

Yes, I am using Windows 7 but inside docker toolbox to interact with docker.

by default the name is with capital leading char
I don’t understand. What default? I am creating the file in my editor. There is no default.

yes, the toolbox window is on windows, not case sensitive

sam@sams MINGW64 ~
$ echo "from ubuntu" >dockerfile

sam@sams MINGW64 ~
$ cat dockerfile
from ubuntu

sam@sams MINGW64 ~
$ cat Dockerfile
from ubuntu

sam@sams MINGW64 ~
$