Secure by Design, Built for Speed, Hardened Container Images on a minimal base CleanStart OS.
50K+
CleanStart Container for JDK
Enterprise-ready Java Development Kit (JDK) container image providing a complete development and runtime environment for Java applications. Built on OpenJDK, this image includes essential development tools, debugging capabilities, and security features required for enterprise Java development. Optimized for cloud-native applications with minimal footprint and enhanced security controls.
š CleanStart Foundation: Security-hardened, minimal base OS designed for enterprise containerized environments.
Key Features
Common Use Cases
Quick Start
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
Configuration
Environment Variables
| Variable | Default | Description |
|---|---|---|
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | System PATH configuration |
| JAVA_HOME | /usr/local/openjdk | Java installation directory |
| JAVA_VERSION | 17 | Java version number |
Security & Best Practices
Recommended Security Context
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop: ['ALL']
Best Practices
Architecture Support
Multi-Platform Images
docker pull --platform linux/amd64 cleanstart/jdk:latest
docker pull --platform linux/arm64 cleanstart/jdk:latest
Essential links and resources for further information
CleanStart Images: https://images.cleanstart.com/ā
Community Images:
Docker Hub: https://hub.docker.com/u/cleanstartā
GitHub: https://github.com/cleanstart-containersā
AWS ECR Public Gallery: https://gallery.ecr.aws/cleanstart/ā
Presence on Social Media:
Community: https://www.linkedin.com/groups/18324021/ā
YouTube: https://www.youtube.com/@CleanStartOfficialā
Contribute to Container Use Cases: https://github.com/cleanstart-dev/cleanstart-use-cases/ā
CleanStart offers Docker images that include third-party open-source libraries and packages maintained by independent contributors. While CleanStart maintains these images and applies industry-standard security practices, it cannot guarantee the security or integrity of upstream components beyond its control.
Users acknowledge and agree that open-source software may contain undiscovered vulnerabilities or introduce new risks through updates. CleanStart shall not be liable for security issues originating from third-party libraries, including but not limited to zero-day exploits, supply chain attacks, or contributor-introduced risks.
Security remains a shared responsibility: CleanStart provides updated images and guidance where possible, while users are responsible for evaluating deployments and implementing appropriate controls.
Content type
Image
Digest
sha256:747f6b6b6ā¦
Size
199.5 MB
Last updated
about 3 hours ago
docker pull cleanstart/jdk:26.0.1_p8-arm64