Public | Automated Build

Last pushed: 4 months ago
Short Description
This is docker images of CentOS 7 with different versions of java
Full Description

Java with CentOS 7

This is docker images of CentOS 7 with different versions of java

Loading different versions of java

The different version is determined with the TAG

The available version are

Tags Info Goods
latest currently Oracle Java version 8 JRE
openjdk-7-jdk OpenJDK Java version 7 JDK
openjdk-7-jre OpenJDK Java version 7 JRE
openjdk-7-jre-headless OpenJDK Java version 7 JRE headless
openjdk-8-jdk OpenJDK Java version 8 JDK
openjdk-8-jre OpenJDK Java version 8 JRE
openjdk-8-jre-headless OpenJDK Java version 8 JRE headless
oracle-7-jre Oracle Java version 7 JRE
oracle-7-jdk Oracle Java version 7 JDK
oracle-8-jre Oracle Java version 8 JRE
oracle-8-jdk Oracle Java version 8 JDK

Example to run a container with OpenJDK version 7 JDK

docker run -ti --rm chenmins/java-centos:openjdk-7-jdk

Example to test java -version

docker run -it --rm chenmins/java-centos java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
Docker Pull Command
Owner
chenmins
Source Repository

Comments (0)