Public Repository

Last pushed: 7 months 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.

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 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
    
  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

Comments (0)