docker build with name code example
Example 1: docker run name
docker run --name <container name> -dp <local port>:<container port> <image>
Example 2: docker build
docker build -t [tag] .
Example 3: docker build supress build output
docker image build -t [name] . -q
Example 4: how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -