Giter VIP home page Giter VIP logo

docker-java's Introduction

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

docker-java's People

Contributors

nimmis avatar vincent-zurczak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.