英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论