Merge pull request #9281 from unclejack/build_pull_flag
build: add pull flag to force image pulling Upstream-commit: 5e19ecf25c942ae809ad5b5cf0bb010845395e58 Component: engine
This commit is contained in:
@@ -1156,6 +1156,7 @@ Query Parameters:
|
||||
the resulting image in case of success
|
||||
- **q** – suppress verbose build output
|
||||
- **nocache** – do not use the cache when building the image
|
||||
- **pull** - attempt to pull the image even if an older image exists locally
|
||||
- **rm** - remove intermediate containers after a successful build (default behavior)
|
||||
- **forcerm - always remove intermediate containers (includes rm)
|
||||
|
||||
|
||||
@@ -315,6 +315,7 @@ To kill the container, use `docker kill`.
|
||||
|
||||
--force-rm=false Always remove intermediate containers, even after unsuccessful builds
|
||||
--no-cache=false Do not use cache when building the image
|
||||
--pull=false Always attempt to pull a newer version of the image
|
||||
-q, --quiet=false Suppress the verbose output generated by the containers
|
||||
--rm=true Remove intermediate containers after a successful build
|
||||
-t, --tag="" Repository name (and optionally a tag) to be applied to the resulting image in case of success
|
||||
|
||||
Reference in New Issue
Block a user