Docker Image and Docker File


I’m new to Docker and I’m learning the Windows version of it. I have a question and I believe it is a generic one.

The below command builds a docker image from the docker file.

“docker image build --tag dockeronwindows/ch02-powershell-env .”

But where is the docker file specified here? Is there a default location and a default file name it looks for?


Might want to review

By default, docker looks for a Dockerfile.