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