icr.io/appcafe/open-liberty 的标签名称是什么?

huangapple go评论51阅读模式
英文:

What are the tag names for icr.io/appcafe/open-liberty?

问题

I need to use the 23.0.0.3 or 23.0.0.4 builds of OpenLiberty as Docker image from icr.io/appcafe.

But docker search icr.io/appcafe/open-liberty (returns http status 404) does not work, and icr.io/appcafe/open-liberty:23.0.0.4-full-java11-openj9 does not exist (using the naming convention for the previous versions)

And you cannot use icr.io/appcafe/open-liberty:latest as that is not stable and no repeatable builds can be created.

So what is the tagname for a Java 11 OpenJ9 based image?

英文:

I need to use the 23.0.0.3 or 23.0.0.4 builds of OpenLiberty as Docker image from icr.io/appcafe.

But docker search icr.io/appcafe/open-liberty (returns http status 404) does not work, and icr.io/appcafe/open-liberty:23.0.0.4-full-java11-openj9 does not exist (using the naming convention for the previous versions)

And you cannot use icr.io/appcafe/open-liberty:latest as that is not stable and no repeatable builds can be created.

So what is the tagname for a Java 11 OpenJ9 based image?

答案1

得分: 3

icr.io上的镜像是基于UBI的,并以-ubi结尾。因此,该镜像位于icr.io/appcafe/open-liberty:23.0.0.4-full-java11-openj9-ubi

要获取可用镜像的完整列表,请参考Open Liberty容器镜像页面。

顺便提一下,23.0.0.4-full-java11-openj9-ubi只是一个标签,类似于latest,如果您想确保可重复构建,不应使用它。每当您想确保使用相同的容器镜像时,应始终使用图像的SHA256摘要来固定镜像。例如,对于上述镜像,摘要为icr.io/appcafe/open-liberty@sha256:2e3e80c26892b29aa42b8f87f1827f59ae46fbad0df65413f6612e3650c5f84b

英文:

The images on icr.io are UBI based and they end with -ubi. Therefore, the image is located at icr.io/appcafe/open-liberty:23.0.0.4-full-java11-openj9-ubi.

For a full list of available images, reference the Open Liberty container images page.

As a side note, 23.0.0.4-full-java11-openj9-ubi is just a tag like latest and should not be used if you want to ensure repeatable builds. Whenever you want to ensure the same container image is being used, you should always pin the image using the SHA256 digest of the image. For example, for the above image, that would be icr.io/appcafe/open-liberty@sha256:2e3e80c26892b29aa42b8f87f1827f59ae46fbad0df65413f6612e3650c5f84b

huangapple
  • 本文由 发表于 2023年5月10日 22:40:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/76219757.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定