Files
docker-cli/docs/reference/commandline
Sebastiaan van Stijn 8992378c87 add support for DOCKER_CUSTOM_HEADERS env-var (experimental)
This environment variable allows for setting additional headers
to be sent by the client. Headers set through this environment
variable are added to headers set through the config-file (through
the HttpHeaders field).

This environment variable can be used in situations where headers
must be set for a specific invocation of the CLI, but should not
be set by default, and therefore cannot be set in the config-file.

WARNING: If both config and environment-variable are set, the environment
variable currently overrides all headers set in the configuration file.
This behavior may change in a future update, as we are considering the
environment variable to be appending to existing headers (and to only
override headers with the same name).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 6638deb9d6)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 15:07:06 +02:00
..
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-02-21 10:40:13 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-02-21 10:40:13 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-02-21 10:40:13 +01:00
2024-07-05 15:20:48 +02:00
2023-12-19 19:30:55 +01:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-11 12:06:02 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-12-19 19:30:55 +01:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-06-20 12:18:43 +02:00
2024-01-18 14:58:43 +01:00
2024-07-05 15:20:48 +02:00
2023-08-28 01:58:58 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-12-19 19:30:55 +01:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2024-07-05 15:20:48 +02:00
2023-01-06 22:36:47 +01:00