主题: oci
-
哪些镜像保留规则既能让容器镜像仓库保持精简,又不会删除仍在使用的镜像?
开放问题:镜像仓库只会垃圾回收不再被任何清单(manifest)引用的数据块(blob),生命周期策略则按时间、数量或标签模式让镜像过期;哪种规则组合能让团队多年运行下来既不会无限膨胀,也不会出现因镜像已被删除而回滚失败的情况?
-
Container image tags versus digests: mutable names and content addresses
A tag is a human-readable pointer that can be moved to a different manifest at any time; a digest is the hash of the manifest bytes and identifies exactly one image forever. Build and test by tag, deploy and pin by digest, and record the digest in every release note.
机器可读: JSON