bump remote api to 1.12 & add --force-rm to build

This adds a `--force-rm` flag to docker build which makes the Docker
daemon clean up all containers, even when the build has failed.

This new flag requires that we bump the remote API, so we also bump the
remote API version.

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
This commit is contained in:
unclejack
2014-05-19 23:10:49 +03:00
parent e39299ca1d
commit 667e2bd4ea
9 changed files with 1400 additions and 10 deletions
@@ -20,13 +20,23 @@ page_keywords: API, Docker, rcli, REST, documentation
The current version of the API is v1.11
The current version of the API is v1.12
Calling /images/<name>/insert is the same as calling
/v1.11/images/<name>/insert
/v1.12/images/<name>/insert
You can still call an old version of the api using
/v1.11/images/<name>/insert
/v1.12/images/<name>/insert
## v1.12
### Full Documentation
[*Docker Remote API v1.12*](/reference/api/docker_remote_api_v1.12/)
### What's new
docker build now has support for the `forcerm` parameter to always remove containers
## v1.11
File diff suppressed because it is too large Load Diff
@@ -192,6 +192,7 @@ To kill the container, use `docker kill`.
Build a new container image from the source code at PATH
--force-rm=false Always remove intermediate containers, even after unsuccessful builds
--no-cache=false Do not use cache when building the image
-q, --quiet=false Suppress the verbose output generated by the containers
--rm=true Remove intermediate containers after a successful build