docker build
docker build -t [tag] .
how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -
docker build from dockerfile
$ docker build - < Dockerfile
docker build supress build output
docker image build -t [name] . -q
command to build docker file
// Make sure you are in the same dictionary where you have saved your Dockerfile
command is:
docker build .