command to build docker image code example
Example 1: docker build image
docker build --tag hello .
Example 2: docker build
docker build -t [tag] .
Example 3: how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -