Docker build: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:


Remove intermediate containers after a successful build (default true).
Remove intermediate containers after a successful build (default true).
==-t, --tag==
Name and optionally a tag in the 'name:tag' format (default []).

Revision as of 04:36, 20 November 2017

External

Internal

Overview

Takes a Dockerfile and produces a Docker image. The default location for the Dockerfile is the current directory.

Options

--rm

Remove intermediate containers after a successful build (default true).

-t, --tag

Name and optionally a tag in the 'name:tag' format (default []).