Open terminal and switch to the folder where the Dockerfile is located.
docker build . -t number-crunch:1.0.0
Note: Use the -t option to give a name and tag to the image. If not the
name
andtag
fields will be blank when you list your images withdocker image ls
.