docker builmd code example Example 1: docker build docker build -t [tag] . Example 2: docker build supress build output docker image build -t [name] . -q