docker buildkit save image locally code example
Example 1: docker build supress build output
docker image build -t [name] . -q
Example 2: how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -
docker image build -t [name] . -q
cat DockerFile.debian.foo | docker build -t debian.foo -