Docker build: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
Takes a [[Docker_Concepts#Dockerfile|Dockerfile]] and produces a [[Docker_Concepts#Container_Image|Docker image]]. The default location for the Dockerfile is the current directory. | Takes a [[Docker_Concepts#Dockerfile|Dockerfile]] and produces a [[Docker_Concepts#Container_Image|Docker image]]. The default location for the Dockerfile is the current directory. | ||
=Options= | |||
==--rm== | |||
Remove intermediate containers after a successful build (default true). |
Revision as of 04:34, 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).