docker build tag name should be username or project name 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 -