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