Sign inSign up

arafkarsh/java

By arafkarsh

•Updated over 1 year ago

Java Runtime 11, 17, 21, 23 (Linux arm64/amd64) - Alpine - Alpaquita - Ubuntu

Image
Languages & frameworks
0

1.4K

arafkarsh/java repository overview

⁠Java for Ubuntu and Alpine Images for ARM-64 / AMD-64 Hardware

  • All these containers are from a developer's perspective. For production use, please check the license terms from Oracle.
  • As these containers are built for development purposes they contain utilities like wget, curl, telnet, vim etc. These utilities are not required in a typical production container.
⁠Java OpenJDK 21 LTS Alpine (arm64 / amd64)

To get the Java image run the following command. Ex. to pull Java 21 (Alpine)

docker pull arafkarsh/java:21-alpine

Run the following command to get into the shell of the Java 21 Alpine Container

docker container run -it arafkarsh/java:21-alpine

You will get a similar output after logging into the Java shell (bash).

----------------------------------------------------------------
Welcome to Ozazo Developer login...
Good Morning, ozazo! ..............
----------------------------------------------------------------
Filesystem                      Size  Used Avail Use% Mounted on
overlay                          59G   19G   38G  33% /
tmpfs                           3.9G     0  3.9G   0% /sys/firmware
Linux 46d0775828d2 5.15.82-0-virt #1-Alpine SMP Mon, 12 Dec 2022 09:15:17 +0000 aarch64 aarch64 aarch64 GNU/Linux
----------------------------------------------------------------
/home/ozazo
----------------------------------------------------------------
openjdk version "21.0.5" 2024-10-15
OpenJDK Runtime Environment (build 21.0.5+11-alpine-r0)
OpenJDK 64-Bit Server VM (build 21.0.5+11-alpine-r0, mixed mode, sharing)
----------------------------------------------------------------
Alpine arm64/amd64 Java 21 Container
----------------------------------------------------------------
ozazo@14176275ef09 ~>
$>

Type exit to come out of the shell and the container

⁠Java OpenJDK 17 LTS Alpine (arm64 / amd64)

To get the Java image run the following command. Ex. to pull Java 17 (Alpine)

docker pull arafkarsh/java:17-alpine

Run the following command to get into the shell of the Java 17 Alpine Container

docker container run -it arafkarsh/java:17-alpine

You will get a similar output after logging into the Java shell (bash).

----------------------------------------------------------------
Welcome to Ozazo Developer login...
Good Morning, ozazo! ..............
----------------------------------------------------------------
Filesystem                      Size  Used Avail Use% Mounted on
overlay                          59G   19G   38G  33% /
tmpfs                           3.9G     0  3.9G   0% /sys/firmware
Linux 46d0775828d2 5.15.82-0-virt #1-Alpine SMP Mon, 12 Dec 2022 09:15:17 +0000 aarch64 aarch64 aarch64 GNU/Linux
----------------------------------------------------------------
/home/ozazo
----------------------------------------------------------------
openjdk version "17.0.13" 2024-10-15
OpenJDK Runtime Environment (build 17.0.13+11-alpine-r0)
OpenJDK 64-Bit Server VM (build 17.0.13+11-alpine-r0, mixed mode, sharing)
----------------------------------------------------------------
Alpine arm64/amd64 Java 17 Container
----------------------------------------------------------------
ozazo@14176275ef09 ~>
$> 

Type exit to come out of the shell and the container

⁠Oracle Java 23 Ubuntu (arm64)

To get the Java image run the following command. Ex. to pull Java 23 (Ubuntu)

docker pull arafkarsh/java:23

Run the following command to get into the shell of the Java 23 Container

docker container run -it arafkarsh/java:23

You will get a similar output after logging into the Java shell (bash).

----------------------------------------------------------------
Welcome to Ozazo Developer login...
Good Morning, ozazo! ..............
----------------------------------------------------------------
Filesystem                      Size  Used Avail Use% Mounted on
overlay                          59G   19G   38G  33% /
tmpfs                           3.9G     0  3.9G   0% /sys/firmware
Linux 46d0775828d2 5.15.82-0-virt #1-Alpine SMP Mon, 12 Dec 2022 09:15:17 +0000 aarch64 aarch64 aarch64 GNU/Linux
----------------------------------------------------------------
/home/ozazo
----------------------------------------------------------------
java version "23.0.1" 2024-10-15
Java(TM) SE Runtime Environment (build 23.0.1+11-39)
Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)
----------------------------------------------------------------
Ubuntu arm64/amd64 Java 23 Container
----------------------------------------------------------------
ozazo@14176275ef09 ~>
$>

Type exit to come out of the shell and the container

⁠Java OpenJDK 21 LTS Ubuntu (arm64 / amd64)

To get the Java image run the following command. Ex. to pull Java 21 (Ubuntu)

docker pull arafkarsh/java:21-openjdk

Run the following command to get into the shell of the Java 21 Container

docker container run -it arafkarsh/java:21-openjdk

You will get a similar output after logging into the Java shell (bash).

----------------------------------------------------------------
Welcome to Ozazo Developer login...
Good Morning, ozazo! ..............
----------------------------------------------------------------
Filesystem                      Size  Used Avail Use% Mounted on
overlay                          59G   19G   38G  33% /
tmpfs                           3.9G     0  3.9G   0% /sys/firmware
Linux 46d0775828d2 5.15.82-0-virt #1-Alpine SMP Mon, 12 Dec 2022 09:15:17 +0000 aarch64 aarch64 aarch64 GNU/Linux
----------------------------------------------------------------
/home/ozazo
----------------------------------------------------------------
openjdk version "21.0.5" 2024-10-15
OpenJDK Runtime Environment (build 21.0.5+11-Ubuntu-1ubuntu124.04)
OpenJDK 64-Bit Server VM (build 21.0.5+11-Ubuntu-1ubuntu124.04, mixed mode, sharing)
----------------------------------------------------------------
Ubuntu arm64/amd64 Java 21 Container
----------------------------------------------------------------
ozazo@14176275ef09 ~>
$>

Type exit to come out of the shell and the container

⁠Java OpenJDK 17 LTS Ubuntu (arm64 / amd64)

To get the Java image run the following command. Ex. to pull Java 17 (Ubuntu)

docker pull arafkarsh/java:17-openjdk

Run the following command to get into the shell of the Java 17 Container

docker container run -it arafkarsh/java:17-openjdk

You will get a similar output after logging into the Java shell (bash).

----------------------------------------------------------------
Welcome to Ozazo Developer login...
Good Morning, ozazo! ..............
----------------------------------------------------------------
Filesystem                      Size  Used Avail Use% Mounted on
overlay                          59G   19G   38G  33% /
tmpfs                           3.9G     0  3.9G   0% /sys/firmware
Linux 46d0775828d2 5.15.82-0-virt #1-Alpine SMP Mon, 12 Dec 2022 09:15:17 +0000 aarch64 aarch64 aarch64 GNU/Linux
----------------------------------------------------------------
/home/ozazo
----------------------------------------------------------------
openjdk version "17.0.13" 2024-10-15
OpenJDK Runtime Environment (build 17.0.13+11-alpine-r0)
OpenJDK 64-Bit Server VM (build 17.0.13+11-alpine-r0, mixed mode, sharing)
----------------------------------------------------------------
Ubuntu arm64/amd64 Java 17 Container
----------------------------------------------------------------
ozazo@14176275ef09 ~>
$>

Type exit to come out of the shell and the container

⁠Java OpenJDK 11 LTS Ubuntu (arm64 / amd64)

To get the Java image run the following command. Ex. to pull Java 11 (Ubuntu)

docker pull arafkarsh/java:11-openjdk

Run the following command to get into the shell of the Java 11 Container

docker container run -it arafkarsh/java:11-openjdk

You will get a similar output after logging into the Java shell (bash).

----------------------------------------------------------------
Welcome to Ozazo Developer login...
Good Morning, ozazo! ..............
----------------------------------------------------------------
Filesystem                      Size  Used Avail Use% Mounted on
overlay                          59G   19G   38G  33% /
tmpfs                           3.9G     0  3.9G   0% /sys/firmware
Linux 46d0775828d2 5.15.82-0-virt #1-Alpine SMP Mon, 12 Dec 2022 09:15:17 +0000 aarch64 aarch64 aarch64 GNU/Linux
----------------------------------------------------------------
/home/ozazo
----------------------------------------------------------------
openjdk version "11.0.25" 2024-10-15
OpenJDK Runtime Environment (build 11.0.25+9-alpine-r0)
OpenJDK 64-Bit Server VM (build 11.0.25+9-alpine-r0, mixed mode)
----------------------------------------------------------------
Ubuntu arm64/amd64 Java 11 Container
----------------------------------------------------------------
ozazo@14176275ef09 ~>
$>

Type exit to come out of the shell and the container

Tag summary

Content type

Image

Digest

sha256:00f0de8f4…

Size

92.9 MB

Last updated

over 1 year ago

docker pull arafkarsh/java:23-alpaquita