Skip to content

Use Dragonwell 11 docker images

Accelerator1996 edited this page Feb 3, 2023 · 13 revisions

Naming convention of Dragonwell images

Below are Docker images published on Aliyun and DockerHub. You can obtained images after 11.0.16.12 by yourself according to the rules.

${DRAGONWELL_VERSION}-${EDITION}-${OPT}-${OS}(-slim)?
  • DOCKER REPOSITORY: dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell or registry.hub.docker.com/alibabadragonwell/dragonwell
  • DRAGONWELL_VERSION: such as 11.0.16.12, you can also write the latest version number 11 which will point to the latest version.
  • EDITION: standard/extended
  • OPT: ga\d+
  • OS: anolis/centos/ubuntu/alpine
  • slim: the image whose tag has -slim postfix is specially trimmed for smaller image size, and its functionality may be incomplete for your application

List of Dragonwell images

https://hub.docker.com/r/alibabadragonwell/dragonwell/tags

Current supported platforms

Dragonwell OS Architecture Edition
11 centos amd64,arm64 extended/standard
11 ubuntu amd64,arm64 extended/standard
11 anolis amd64,arm64 extended/standard
11 alpine amd64,arm64 extended/standard

List of Dragonwell 11 images before 11.0.16.12

Below are Docker images published on Aliyun and DockerHub. You may raise a Dragonwell bug to ask for an image of your OS/arch.
The images listed below are images before 11.0.16.12, which will be obtained by yourself in the future according to the rules.

Image:Tag arch OS slim?
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-extended-11.0.16.12_jdk-11.0.16-ga_alpine_x86_64 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-extended-11.0.16.12_jdk-11.0.16-ga_aarch64_slim aarch64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-extended-11.0.16.12_jdk-11.0.16-ga_x86_64_slim x86_64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-extended-11.0.16.12_jdk-11.0.16-ga_aarch64 aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-extended-11.0.16.12_jdk-11.0.16-ga_x86_64 x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-11.0.16.12_jdk-11.0.16-ga_alpine_x86_64 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-11.0.16.12_jdk-11.0.16-ga_aarch64_slim aarch64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-11.0.16.12_jdk-11.0.16-ga_x86_64_slim x86_64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-11.0.16.12_jdk-11.0.16-ga_aarch64 aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-11.0.16.12_jdk-11.0.16-ga_x86_64 x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.15.11.9_jdk-11.0.15-ga_alpine_x86_64 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.15.11.9_jdk-11.0.15-ga_aarch64_slim aarch64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.15.11.9_jdk-11.0.15-ga_x86_64_slim x86_64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.15.11.9_jdk-11.0.15-ga_aarch64 aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.15.11.9_jdk-11.0.15-ga_x86_64 x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.13.9_jdk-11.0.13-ga_alpine_x86_64 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.13.9_jdk-11.0.13-ga_aarch64_slim aarch64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.13.9_jdk-11.0.13-ga_x86_64_slim x86_64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.13.9_jdk-11.0.13-ga_aarch64 aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.13.9_jdk-11.0.13-ga_x86_64 x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.12.8_jdk-11.0.11-ga x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.12.8_jdk-11.0.11-ga aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.11.7_jdk-11.0.11-ga x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-11.0.11.7_jdk-11.0.11-ga aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:11.0.10.5-GA x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:11.0.10.5-GA aarch64 centos No
registry.cn-shanghai.aliyuncs.com/dragonwell/dragonwell11:11.0.9.4-GA_alpine_x86_64 x86_64 alphine No
registry.cn-shanghai.aliyuncs.com/dragonwell/dragonwell11:11.0.7.2-GA_alpine_x86_64 x86_64 alphine No
registry.cn-shanghai.aliyuncs.com/dragonwell/dragonwell11:11.0.5.1-preview_alpine_x86_64 x86_64 alphine No

Dockerfile of image

https://github.com/dragonwell-releng/dragonwell-containers

Pull the image

For example(if the current latest version is 11.0.17.13):

# 11.0.17.13-extended-ga-anolis
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11-anolis
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11-extended-ga-anolis
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11.0.17.13-extended-ga-anolis
# 11.0.17.13-standard-ga-centos
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11-standard-ga-centos
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11.0.17.13-standard-ga-centos

Run in command line

Just like other images

$ sudo docker run -v $PWD:$PWD -it --rm registry.cn-shanghai.aliyuncs.com/dragonwell/dragonwell11:11.0.5.1-preview_alpine_x86_64 /bin/sh

FROM as base image

Just change the FROM line like below:

FROM dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11.0.17.13-extended-ga-centos
# balabala...

Get JDK from image

COPY --from=dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11.0.17.13-extended-ga-centos /opt/java/openjdk /opt