David Karlsson e4259e32cd Fix issue #24434: document secret mount behavior (#24442)
Adds documentation explaining how secrets appear inside build containers
when using GitHub Actions secret mounts.

Changes:
- Added new section "How secrets appear in the build container"
explaining:
  - Default secret mount location (/run/secrets/<id>)
  - File permissions and content handling
  - How the env option works
  - Custom target paths
- Includes practical examples for both environment variable and
file-based secret access

Fixes #24434

---------

Co-authored-by: David Karlsson <dvdksn@users.noreply.github.com>
2026-03-23 17:25:04 +01:00
2025-01-30 07:54:26 -08:00
2026-01-05 08:34:39 +01:00
2024-09-16 14:43:05 +02:00
2025-07-16 15:13:38 +02:00
2026-01-08 09:38:05 +00:00
2026-03-06 14:59:12 +01:00
2026-03-17 07:32:21 +01:00
2026-03-17 07:32:21 +01:00
2026-03-17 09:19:07 +01:00
2025-04-02 15:46:24 -04:00

Docs @ Docker

Welcome to Docker Documentation


Welcome to the Docker Documentation repository. This is the source for the Docker Docs Website.

Feel free to open pull requests or issues. Our docs are completely open source, and we deeply appreciate contributions from the Docker community!

Provide feedback

Wed love to hear your feedback! To submit feedback:

  • Click New issue on the docs repository, or
  • Click Request changes in the right column of every page on docs.docker.com, or
  • Click Give feedback on every page in the docs.

To get community support, use the Docker Community Slack. Personalized support is available through the Docker Pro, Team, and Business subscriptions. See Docker Pricing for details.

If you have an idea for a new feature or behavior change in a specific aspect of Docker or have found a product bug, file an issue in the project's repository.

Contribute to Docker docs

We welcome contributions! To get started:

Copyright 2013-2026 Docker, Inc., released under the Apache 2.0 license.

Description
No description provided
Readme Apache-2.0 874 MiB
Languages
Markdown 97.3%
HTML 1.7%
CSS 0.4%
JavaScript 0.2%
Go 0.1%