docker create a image from dockerfile along with name code example
Example: how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -
cat DockerFile.debian.foo | docker build -t debian.foo -