Bitnami Java Docker Image http://bitnami.com/docker
Switch branches/tags
1.8.191-ol-7-r5 1.8.191-ol-7-r4 1.8.191-ol-7-r3 1.8.191-ol-7-r2 1.8.191-ol-7-r1 1.8.191-ol-7-r0 1.8.191-debian-9-r6 1.8.191-debian-9-r5 1.8.191-debian-9-r4 1.8.191-debian-9-r3 1.8.191-debian-9-r2 1.8.191-debian-9-r1 1.8.191-debian-9-r0 1.8.181-ol-7-r77 1.8.181-ol-7-r76 1.8.181-ol-7-r75 1.8.181-ol-7-r74 1.8.181-ol-7-r73 1.8.181-ol-7-r72 1.8.181-ol-7-r71 1.8.181-ol-7-r70 1.8.181-ol-7-r69 1.8.181-ol-7-r68 1.8.181-ol-7-r67 1.8.181-ol-7-r66 1.8.181-ol-7-r65 1.8.181-ol-7-r64 1.8.181-ol-7-r63 1.8.181-ol-7-r62 1.8.181-ol-7-r61 1.8.181-ol-7-r60 1.8.181-ol-7-r59 1.8.181-ol-7-r58 1.8.181-ol-7-r57 1.8.181-ol-7-r56 1.8.181-ol-7-r55 1.8.181-ol-7-r54 1.8.181-ol-7-r53 1.8.181-ol-7-r52 1.8.181-ol-7-r51 1.8.181-ol-7-r50 1.8.181-ol-7-r49 1.8.181-ol-7-r48 1.8.181-ol-7-r47 1.8.181-ol-7-r46 1.8.181-ol-7-r45 1.8.181-ol-7-r44 1.8.181-ol-7-r43 1.8.181-ol-7-r42 1.8.181-ol-7-r41 1.8.181-ol-7-r40 1.8.181-ol-7-r39 1.8.181-ol-7-r38 1.8.181-ol-7-r37 1.8.181-ol-7-r36 1.8.181-ol-7-r35 1.8.181-ol-7-r34 1.8.181-ol-7-r33 1.8.181-ol-7-r32 1.8.181-ol-7-r31 1.8.181-ol-7-r30 1.8.181-ol-7-r29 1.8.181-ol-7-r28 1.8.181-ol-7-r27 1.8.181-ol-7-r26 1.8.181-ol-7-r25 1.8.181-ol-7-r24 1.8.181-ol-7-r23 1.8.181-ol-7-r22 1.8.181-ol-7-r21 1.8.181-ol-7-r20 1.8.181-ol-7-r19 1.8.181-ol-7-r18 1.8.181-ol-7-r17 1.8.181-ol-7-r16 1.8.181-ol-7-r15 1.8.181-ol-7-r14 1.8.181-ol-7-r13 1.8.181-ol-7-r12 1.8.181-ol-7-r11 1.8.181-ol-7-r10 1.8.181-ol-7-r9 1.8.181-ol-7-r8 1.8.181-ol-7-r7 1.8.181-ol-7-r6 1.8.181-ol-7-r5 1.8.181-ol-7-r4 1.8.181-ol-7-r3 1.8.181-ol-7-r2 1.8.181-ol-7-r1 1.8.181-ol-7-r0 1.8.181-debian-9-r85 1.8.181-debian-9-r84 1.8.181-debian-9-r83 1.8.181-debian-9-r82 1.8.181-debian-9-r81 1.8.181-debian-9-r80 1.8.181-debian-9-r79 1.8.181-debian-9-r78 1.8.181-debian-9-r77
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
1.8 1.8.191-ol-7-r5 release Oct 21, 2018
example Initial commit Nov 22, 2017
LICENSE Update LICENSE date Jun 21, 2018
README.md 1.8.191-ol-7-r5 release Oct 21, 2018
circle.yml 1.8.181-debian-9-r15 release Aug 2, 2018
docker-compose.yml Initial commit Nov 22, 2017

README.md

CircleCI

What is Java?

Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.

$ docker run -it --name java bitnami/java

Docker Compose

$ curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-java/master/docker-compose.yml > docker-compose.yml
$ docker-compose up -d

Why use Bitnami Images?

  • Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
  • With Bitnami images the latest bug fixes and features are available as soon as possible.
  • Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs.
  • Bitnami images are built on CircleCI and automatically pushed to the Docker Hub.
  • All our images are based on minideb a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading linux distribution.
  • Bitnami container images are released daily with the latest distribution packages available.

Anchore Image Overview

The image overview badge contains a security report with all open CVEs. Click on 'Show only CVEs with fixes' to get the list of actionable security issues.

Supported tags and respective Dockerfile links

NOTE: Debian 8 images have been deprecated in favor of Debian 9 images. Bitnami will not longer publish new Docker images based on Debian 8.

Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags in our documentation page.

Subscribe to project updates by watching the bitnami/java GitHub repo.

Get this image

The recommended way to get the Bitnami Java Docker Image is to pull the prebuilt image from the Docker Hub Registry.

$ docker pull bitnami/java:latest

To use a specific version, you can pull a versioned tag. You can view the list of available versions in the Docker Hub Registry.

$ docker pull bitnami/java:[TAG]

If you wish, you can also build the image yourself.

$ docker build -t bitnami/java https://github.com/bitnami/bitnami-docker-java.git

Configuration

Running your Java jar or war

The default work directory for the Java image is /app. You can mount a folder from your host here that includes your Java jar or war, and run it normally using the java command.

$ docker run -it --name java -v /path/to/app:/app bitnami/java:latest \
  java -jar package.jar

or using Docker Compose:

java:
  image: bitnami/java:latest
  command: "java -jar package.jar"
  volumes:
    - .:/app

Further Reading:

Maintenance

Upgrade this image

Bitnami provides up-to-date versions of Java, including security patches, soon after they are made upstream. We recommend that you follow these steps to upgrade your container.

Step 1: Get the updated image

$ docker pull bitnami/java:latest

or if you're using Docker Compose, update the value of the image property to bitnami/java:latest.

Step 2: Remove the currently running container

$ docker rm -v java

or using Docker Compose:

$ docker-compose rm -v java

Step 3: Run the new image

Re-create your container from the new image.

$ docker run --name java bitnami/java:latest

or using Docker Compose:

$ docker-compose up java

Contributing

We'd love for you to contribute to this Docker image. You can request new features by creating an issue, or submit a pull request with your contribution.

Issues

If you encountered a problem running this container, you can file an issue. For us to provide better support, be sure to include the following information in your issue:

  • Host OS and version
  • Docker version (docker version)
  • Output of docker info
  • Version of this container (echo $BITNAMI_IMAGE_VERSION inside the container)
  • The command you used to run the container, and any relevant output you saw (masking any sensitive information)

License

Copyright (c) 2018 Bitnami

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.