Public Repository

Last pushed: 8 days ago
Short Description
JDK docker image based on Debian Jessie and Oracle JDK 8.
Full Description

Oracle JDK

JDK docker image based on Debian Jessie and Oracle JDK 8.

Source Code

Sources to build this docker image can be found here.

Description

This Tomcat docker image contains the following software components:

How to run the container

Using docker

Example 1: Run version check in Java container

  1. Run the Java container with the following command:
    docker run --rm chrisipa/jdk -version
    

Advanced topics

Accept self signed SSL certificates from JRE

  1. Create sub folder for trusted SSL certificates:

    sudo mkdir -p /opt/ssl/trusted
    sudo chown 1000.1000 /opt/ssl/trusted
    
  2. Use OpenSSL to download the self signed certificate to trusted SSL certificates folder:

    echo "GET /" | openssl s_client -connect my.host.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /opt/ssl/trusted/my-self-signed.crt
    
  3. Run Java container with the commands above and mount folder for trusted SSL certificates:

    -v /opt/ssl/trusted:/opt/ssl/trusted
    
Docker Pull Command
Owner
chrisipa