default to deleting images via the remote api

This makes the remote API version 1.12 and newer default to
automatically deleting intermediate containers when the build has
succeedeed.

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Upstream-commit: b60d6471721bc914dca179a4372303d41913cc4c
Component: engine
This commit is contained in:
unclejack
2014-05-19 23:10:54 +03:00
parent 2a0a0d8d03
commit 4c017922d1
3 changed files with 6 additions and 1 deletions
@@ -1063,7 +1063,7 @@ Build an image from Dockerfile via stdin
the resulting image in case of success
- **q** suppress verbose build output
- **nocache** do not use the cache when building the image
- **rm** - remove intermediate containers after a successful build
- **rm** - remove intermediate containers after a successful build (default behavior)
- **forcerm - always remove intermediate containers (includes rm)
Request Headers: