Skip to content

Commit 9ad19d2

Browse files
authored
Merge pull request #1329 from AntaresS/update-build-command-docs
update usage for 'docker build' with '--progress' and '--secret' options
2 parents 561c47f + 83ca55d commit 9ad19d2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/reference/commandline/build.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ Options:
4848
'<network-name>|<network-id>': connect to a user-defined network
4949
--no-cache Do not use cache when building the image
5050
--pull Always attempt to pull a newer version of the image
51+
--progress Set type of progress output (only if BuildKit enabled) (auto, plain, tty).
52+
Use plain to show container output
5153
-q, --quiet Suppress the build output and print image ID on success
5254
--rm Remove intermediate containers after a successful build (default true)
55+
--secret Secret file to expose to the build (only if BuildKit enabled): id=mysecret,src=/local/secret"
5356
--security-opt value Security Options (default [])
5457
--shm-size bytes Size of /dev/shm
5558
The format is `<number><unit>`. `number` must be greater than `0`.

0 commit comments

Comments
 (0)