how to build an image docker code example
Example 1: docker build image
docker build --tag hello .
Example 2: how to build docker image
docker build <Dockerfile path> -t image-name
docker build --tag hello .
docker build <Dockerfile path> -t image-name