Secure by Design, Built for Speed, Hardened Container Images on a minimal base CleanStart OS.
100K+
Verified JDK Container Image
A hardened, minimal JDK container image built from source with verifiable software provenance and an SBOM, designed for secure production deployments.
For additional versions including FIPS support, explore CleanStart Images — secure, hardened container images
Pull Latest Image Download the container image from the registry
docker pull cleanstart/jdk:latest
docker pull cleanstart/jdk:latest-dev
Basic Run Run the container with basic configuration
docker run -it --name jdk-test cleanstart/jdk:latest-dev
Production Deployment Deploy with production security settings
docker run -d --name jdk-prod \
--read-only \
--security-opt=no-new-privileges \
--user 1000:1000 \
cleanstart/jdk:latest
Small Project to run for volume mount
cat > jdk-test/HelloWorld.java << 'EOF'
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello from JDK Container!");
System.out.println("Java version: " + System.getProperty("java.version"));
System.out.println("Java vendor: " + System.getProperty("java.vendor"));
}
}
EOF
Volume Mount Mount local directory for persistent data
docker run --rm -v $(pwd):/app -w /app cleanstart/jdk:latest $(which javac) jdk-test/HelloWorld.java
Why Use CleanStart Images
Content type
Image
Digest
sha256:80071115d…
Size
405.5 MB
Last updated
about 23 hours ago
docker pull cleanstart/jdk