apache / apache/buildstream-plugins
Docker plugin fails for images using oci v1 media types
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 8
- 派生
- 16
- 平均合并
- 36 分钟
- 30 天内合并 PR
- 2
描述
Any images that still use application/vnd.oci.image.manifest.v1+json and/or application/vnd.oci.image.layer.v1.tar+gzip (such as library/archlinux on docker hub) cause the docker plugin to error with a 404 error code, even though the image definetly exists.
Manually adding these two media types to the relevant mediaType checks and accept headers makes it work reliably for pretty much every plugin that I tested.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 Docker 插件的 mediaType 检查和 Accept 标头,然后使用 issue 中描述的 OCI v1 mediaTypes 的镜像重现该故障。当这些镜像被接受且插件不再返回 404 时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, python
- 领域
- devops
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100