Configured "HttpHeaders" are not sent by Docker daemon
维护者通常 1 天内回复
还没有人认领这个 Issue。
- #26085 来自 @Gaalbu —— 已关闭,未合并
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker
- 领域
- devops, documentation
调研方向
从 engine/reference/commandline/cli.md 开始,检查 ~/.docker/config.json 中文档所述的 HttpHeaders 设置。通过 HTTPS 代理复现 docker pull,然后确定是文档还是 Docker daemon 的行为不正确;当 issue 已确认解决,并且相关文档或组件参考已更新时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Issue:
Configured "HttpHeaders" are not sent to the repository.
Documentation:
engine/reference/commandline/cli.md
Docker version
Docker version 19.03.13, build 4484c46d9d
Platform:
Ubuntu 18 & MacOS
Reproducing:
I am running an HTTPS proxy, which performs the SSL termination.
It receives the requests from the daemon and forwards an HTTPS request to the GCR project. The proxy logs all HTTP headers it receives.
-
Added
"HttpHeaders": { "MyHeader": "MyValue" }to ~/.docker/config.json, as documented -
Execute
docker --config ~/.docker pull https://my_proxy/my_image:tag -
Proxy logs all received log HTTP Headers. "MyHeader" is not found
INFO[8654] Client header "Connection": "close"
INFO[8654] Client header "User-Agent": "docker/19.03.12 go/go1.13.10 git-commit/48a66213fe kernel/4.19.76-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/19.03.12 \\(darwin\\))"
INFO[8654] Client header "Accept-Encoding": "gzip"```
- 主要语言
- Markdown
- 星标
- 4.7k
- 派生
- 8.5k
- 平均合并
- 2 天 11 小时
- 30 天内合并 PR
- 135
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker/docs 的其他 Issue
-
[docs-scanner] Inline cache missing driver/containerd requirement that overview page states可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 95/100
维护者通常 1 天内回复
-
[docs-scanner] S3 and Azure Blob cache backends marked as unreleased but have complete documentation可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复
-
status/triage
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
[docs-scanner] Confusing explanation of approval-required outcome vs permit in MCP policy可能已有人在做 @dave123981 于 3 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
相似的 Issue
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTML可能已有人在做 @Donvero 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Mantitup-Org/vista#210 ·
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 72/100
servo/rust-smallvec#873 ·
-
area:breg bug rust
难度 2/5 1-3 小时 新手友好度 67/100
registrystack/registry-stack#2632 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bot-found bug priority: P3
难度 2/5 1-3 小时 新手友好度 77/100
madenvel/KalinkaPlayer#564 ·