Skip to content

This is docker images of Ubuntu 16.04 LTS with different versions of java

Notifications You must be signed in to change notification settings

nimmis/docker-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java with Ubuntu 20.04 LTS

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

Examples

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

what happened to java xxx

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

Issues

If you have any problems with or questions about this image, please contact us by submitting a ticket through a GitHub issue

  1. Look to see if someone already filled the bug, if not add a new one.
  2. Add a good title and description with the following information.
  • if possible an copy of the output from cat /etc/BUILDS/* from inside the container
  • any logs relevant for the problem
  • how the container was started (flags, environment variables, mounted volumes etc)
  • any other information that can be helpful

Contributing

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.

TAGs

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 [](https://microbadger.com/images/nimmis/java: openjdk-11-jdk "Get your own image badge on microbadger.com")
openjdk-11-jre 20.04 Adopt OpenJRE Java version 11 JDK [](https://microbadger.com/images/nimmis/java: openjdk-11-jre "Get your own image badge on microbadger.com")
openjdk-8-jdk 20.04 ADOPT OpenJDK Java version 8 JDK [](https://microbadger.com/images/nimmis/java: 16.04-openjdk-8-jdk "Get your own image badge on microbadger.com")
openjdk-8-jre 20.04 Adopt OpenJRE Java version 8 JDK [](https://microbadger.com/images/nimmis/java: 16.04-openjdk-8-jdk "Get your own image badge on microbadger.com")
16.04-openjdk-8-jdk 16.04 OpenJDK Java version 8 JDK [](https://microbadger.com/images/nimmis/java: 16.04-openjdk-8-jdk "Get your own image badge on microbadger.com")
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

About

This is docker images of Ubuntu 16.04 LTS with different versions of java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published