Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/reference/commandline/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ sent from the Docker client to the daemon. Docker doesn't try to interpret or
understand these headers; it simply puts them into the messages. Docker does
not allow these headers to change any headers it sets for itself.

The daemon forwards headers whose names start with `X-Meta-` (for
example `X-Meta-Trace`) to the registry on operations such as
`docker pull`. Other custom headers stay on the client-to-daemon
request and are not sent to the registry.

Alternatively, use the `DOCKER_CUSTOM_HEADERS` [environment variable](#environment-variables),
which is available in v27.1 and higher. This environment-variable is experimental,
and its exact behavior may change.
Expand Down