docker build with dockerfile code example
Example 1: docker build
docker build -t [tag] .
Example 2: docker build from dockerfile
$ docker build - < Dockerfile
Example 3: docker build supress build output
docker image build -t [name] . -q
docker build -t [tag] .
$ docker build - < Dockerfile
docker image build -t [name] . -q