mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 15:28:35 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user