mirror of https://github.com/docker/docs.git
Merge pull request #21142 from dvdksn/buildsecret-fix-typo
build: fix typo in build secrets
This commit is contained in:
commit
0625c139ee
|
@ -107,7 +107,7 @@ $ docker build --secret id=API_TOKEN .
|
|||
|
||||
### Target
|
||||
|
||||
When consuming a secret in a Dockerfile, the secret is mounted a file by
|
||||
When consuming a secret in a Dockerfile, the secret is mounted to a file by
|
||||
default. The default file path of the secret, inside the build container, is
|
||||
`/run/secrets/<id>`. You can customize how the secrets get mounted in the build
|
||||
container using the `target` and `env` options for the `RUN --mount` flag in
|
||||
|
|
Loading…
Reference in New Issue