docker build image check code example
Example 1: how to build docker image
docker build <Dockerfile path> -t image-name
Example 2: docker build supress build output
docker image build -t [name] . -q
docker build <Dockerfile path> -t image-name
docker image build -t [name] . -q