Skip to content

Using the container images

Terminal window
docker pull bellsoft/liberica-runtime-container:jdk-all-21-glibc

Liberica runtime container images are published on all major container registries. The repository name is the same across registries; only the pull-URL prefix differs.

RegistryPull-URL prefixAuthentication
Docker Hubbellsoft/<repository>:<tag>No
GitHub Container Registryghcr.io/bell-sw/<repository>:<tag>No
Microsoft Container Registrybellsoft.azurecr.io/<repository>:<tag>No
Google Container Registryus-docker.pkg.dev/bellsoft/gcr.io/<repository>:<tag>Yes
Amazon ECRpublic.ecr.aws/bellsoft/<repository>:<tag>No

The following examples pull the same image from each registry:

Terminal window
docker pull bellsoft/liberica-runtime-container:jdk-all-21-glibc
Terminal window
docker run --rm bellsoft/liberica-runtime-container:jdk-all-21-glibc java -version
FROM bellsoft/liberica-runtime-container:jre-21-slim-glibc
COPY target/app.jar /app/app.jar
ENTRYPOINT ["java", "-jar", "/app/app.jar"]