
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
bashdocker pull cleanstart/jdk:latest docker pull cleanstart/jdk:latest-dev
Basic Run Run the container with basic configuration
bashdocker run -it --name jdk-test cleanstart/jdk:latest-dev
Production Deployment Deploy with production security settings
bashdocker 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
bashcat > 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
bashdocker 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
yamlsecurityContext: runAsNonRoot: true runAsUser: 1000 runAsGroup: 1000 readOnlyRootFilesystem: true allowPrivilegeEscalation: false capabilities: drop: ['ALL']
Best Practices
Architecture Support
Multi-Platform Images
bashdocker pull --platform linux/amd64 cleanstart/jdk:latest docker pull --platform linux/arm64 cleanstart/jdk:latest
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 ***s, 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.
以下是 cleanstart/jdk 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务