dockerfile build new image code example
Example 1: how to build docker image
docker build -t image-name
Example 2: how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -
docker build -t image-name
cat DockerFile.debian.foo | docker build -t debian.foo -