Parse Docker images of `<name>:<tag>@sha256:<hash>` format
还没有人认领这个 Issue。
评估
调研方向
定位 DockerImageName parser 及其针对仅 tag 和仅 digest 格式的现有测试。首先跟踪 name 和 digest 的解析方式,然后验证组合形式 name:tag@sha256:hash 能被接受、lookup 时会忽略 tags,并且 toString() 会保留它们。添加或更新聚焦于 parser 的测试,以展示已完成的行为。
由索引模型根据 Issue 内容生成。
描述
Currently, DockerImageName doesn't support image names in <name>:<tag>@sha256:<hash> format, as it expects image name to be in one of these formats:
<name>:<tag><name>@sha256:<hash>
However, <name>:<tag>@sha256:<hash> is a valid Docker image name format. Could you please add its support?
As a result, I expect DockerImageName to ignore tags of such image names and work with hash only. Tags can be returned via toString().
- 主要语言
- Java
- 星标
- 8.7k
- 派生
- 1.9k
- 平均合并
- 2 天 17 小时
- 30 天内合并 PR
- 9
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
testcontainers/testcontainers-java 的其他 Issue
-
type/bug
难度 2/5 1-3 小时 新手友好度 78/100
testcontainers/testcontainers-java#11997 · 1 条评论 ·
-
[Enhancement]: Document why singleton containers are required under Spring's test context caching 未关闭type/enhancement
难度 1/5 1 小时以内 新手友好度 85/100
testcontainers/testcontainers-java#11967 ·
-
type/bug
难度 2/5 1-3 小时 新手友好度 78/100
testcontainers/testcontainers-java#11941 ·
-
type/bug
难度 2/5 1-3 小时 新手友好度 74/100
testcontainers/testcontainers-java#11829 · 1 条评论 ·
-
type/enhancement
难度 2/5 1-3 小时 新手友好度 65/100
testcontainers/testcontainers-java#11578 ·
查看 testcontainers/testcontainers-java 的全部 Issue
相似的 Issue
-
Bug Java Platform: Java
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-java#6138 · 1 条评论 ·
-
bug needs triage p2
难度 2/5 1-3 小时 新手友好度 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 76/100