nimmis/java
This is docker images of Ubuntu 14.04 LTS with different versions of java
50K+
This is docker images of Ubuntu 20.04 LTUS with different versions of java
For compatibilty old version with 14.04 and 16.04 are still available but depricated and should not be used.
Now changed OpenJDK to the Adopt LTS versions 8 and 11
This images are build on nimmis/ubuntu which are a modified version of ubuntu with a working init process, fixes for some docker bugs and a working cron and syslog. Services are started with supervisor daemon, for more information about that see nimmis/ubuntu
Old versions of java that has beed end of life for several years have been removed as they are no longer safe to run.
Oracle version of java is no longer free so no version beond 8 will be released.
what happened to the Ubuntu 14.04/16.04 version?
On request I have recreated the old 14.04/16.04 versions with prefix 14.04- 16.04- See TAGS for a full list
These tags should be considered depricated an may be removed later
starting the container with a normal shell
docker run -ti nimmis/java:openjdk-11-jdk /bin/bash
root@aad708a5ca6b:~# java --version
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
This will start the container with a normal shell, no cron or other systems are started
starting the container as a daemon
docker run -d nimmis/java:openjdk-11-jdk
This will start the container with the init process running, access the container with
docker exec -ti <container ID> /bin/bash
If you have any problems with or questions about this image, please contact us by submitting a ticket through a GitHub issue
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
The different version is determined with the TAG
The available version are nimmis/java:< tag > where tag is
Tag | OS Version | Java version | size |
---|---|---|---|
latest | 20.04 | currently Adopt OpenJDK Java version 11 JRE | |
openjdk-11-jdk | 20.04 | ADOPT OpenJDK Java version 11 JDK | [ |
openjdk-11-jre | 20.04 | Adopt OpenJRE Java version 11 JDK | [ |
openjdk-8-jdk | 20.04 | ADOPT OpenJDK Java version 8 JDK | [ |
openjdk-8-jre | 20.04 | Adopt OpenJRE Java version 8 JDK | [ |
16.04-openjdk-8-jdk | 16.04 | OpenJDK Java version 8 JDK | [ |
16.04-openjdk-8-jre | 16.04 | OpenJDK Java version 8 JRE | |
16.04-openjdk-8-jre-headless | 16.04 | OpenJDK Java version 8 JRE headless | |
oracle-8-jdk | 16.04 | Oracle Java version 8 JDK | |
14.04-latest | 14.04 | currently OpenJDK Java version 8 JRE | |
14.04-openjdk-8-jdk | 14.04 | OpenJDK Java version 8 JDK | |
14.04-openjdk-8-jre | 14.04 | OpenJDK Java version 8 JRE | |
14.04-openjdk-8-jre-headless | 14.04 | OpenJDK Java version 8 JRE headless | |
14.04-oracle-8-jdk | 14.04 | Oracle Java version 8 JDK | |
14.04-openjdk-7-jdk | 14.04 | OpenJDK Java version 7 JDK | |
14.04-openjdk-7-jre | 14.04 | OpenJDK Java version 7 JRE | |
14.04-openjdk-7-jre-headless | 14.04 | OpenJDK Java version 7 JRE headless | |
14.04-oracle-7-jdk | 14.04 | Oracle Java version 7 JDK |
Example to run a container with OpenJDK version 11 JDK
docker run -d nimmis/java:openjdk-11-jdk
docker pull nimmis/java