mirror of https://github.com/docker/cli.git
Merge pull request #1329 from AntaresS/update-build-command-docs
update usage for 'docker build' with '--progress' and '--secret' options
This commit is contained in:
commit
9ad19d2266
|
@ -48,8 +48,11 @@ Options:
|
||||||
'<network-name>|<network-id>': connect to a user-defined network
|
'<network-name>|<network-id>': connect to a user-defined network
|
||||||
--no-cache Do not use cache when building the image
|
--no-cache Do not use cache when building the image
|
||||||
--pull Always attempt to pull a newer version of the image
|
--pull Always attempt to pull a newer version of the image
|
||||||
|
--progress Set type of progress output (only if BuildKit enabled) (auto, plain, tty).
|
||||||
|
Use plain to show container output
|
||||||
-q, --quiet Suppress the build output and print image ID on success
|
-q, --quiet Suppress the build output and print image ID on success
|
||||||
--rm Remove intermediate containers after a successful build (default true)
|
--rm Remove intermediate containers after a successful build (default true)
|
||||||
|
--secret Secret file to expose to the build (only if BuildKit enabled): id=mysecret,src=/local/secret"
|
||||||
--security-opt value Security Options (default [])
|
--security-opt value Security Options (default [])
|
||||||
--shm-size bytes Size of /dev/shm
|
--shm-size bytes Size of /dev/shm
|
||||||
The format is `<number><unit>`. `number` must be greater than `0`.
|
The format is `<number><unit>`. `number` must be greater than `0`.
|
||||||
|
|
Loading…
Reference in New Issue