Skip to main content
skill CX Codex

java-docker — Claude Code skill: what it does, how to install

java-docker prepares lean, hardened Docker containers for Java and Spring Boot workloads with container-aware JVM flags.

LicenseRef-Proprietary 267 installs ★ 42 updated 2026-01-05

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a claude-code
Open on GitHub

What java-docker does

The skill guides your agent in drafting multi-stage container builds for Java services. When working with Spring Boot, it splits application artifacts using layertools. Dependency updates get cached cleanly.

Memory configuration addresses container constraints directly. The instructions inject UseContainerSupport, set MaxRAMPercentage to 75.0, pick G1GC, and activate ExitOnOutOfMemoryError. Runtimes older than Java 11 cannot inspect cgroup limits reliably, leading directly to OOMKilled terminations.

Hardening comes enabled in the generated files. Root execution is disabled via a dedicated app user, and readiness probes link to actuator/health.

What it helps with

  • write a multi-stage Dockerfile for a Spring Boot service
  • tune container-aware JVM memory flags to prevent sudden kills
  • shrink container footprint using Alpine or Distroless bases
  • isolate the runtime process under an unprivileged user

Example prompts for the agent

  • Create a multi-stage Dockerfile for my Spring Boot app on Java 21
  • Configure JVM container options with MaxRAMPercentage set to 75.0
  • Harden this Java Docker container with a non-root user and distroless base

How to install java-docker

1Skills CLI (Vercel)

npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a claude-code

2Manually: put the files in place

~/.claude/skills/java-docker/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/java-docker/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about java-docker

How to install java-docker in Claude Code?

Run npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a claude-code in your terminal. The configuration installs to ~/.claude/skills/java-docker/SKILL.md.

What does java-docker do?

It standardizes Java containerization workflows. The skill sets up dependency caching for Spring Boot, configures JVM heap parameters, and removes root privileges from production images.

Which base container images are supported?

It supports Temurin, Alpine, and Distroless targets. The distroless setup delivers the smallest image around 80MB without shell binaries, while Temurin Alpine lands around 100MB.

Similar skills

All skills for DevOps and infrastructure →

From the same set12

The whole set →
java-fundamentals java-fundamentals guides coding assistants through modern Java development from version 8 to 21, including Streams, collections, records, and OOP patterns. CX Codex +1 630installs java-jpa-hibernate java-jpa-hibernate guides JPA entity mapping, query tuning, and transaction controls for Java persistence layers in production. CX Codex +1 622installs java-microservices java-microservices guides Java microservice design with Spring Cloud, covering event flows, resilience patterns, and tracing. Use it when shaping distributed services. CX Codex +1 504installs java-performance java-performance — a skill that hands your agent JVM tuning recipes: GC selection, CPU profiling, heap analysis and JMH benchmarks. CX Codex +1 490installs java-concurrency Skill for Java concurrency across thread management, synchronization primitives, thread pools, and async patterns including virtual threads (Java 21+). CX Codex +1 468installs java-gradle java-gradle configures Gradle Java projects using Kotlin DSL. Helps set up version catalogs, optimize build caching, and tune compiler tasks. CX Codex +1 388installs java-testing-advanced java-testing-advanced — a Java testing skill that spins up real databases and Kafka in containers, checks API contracts, and hunts coverage gaps with mutation testing. CX Codex +1 333installs java-maven-gradle java-maven-gradle configures Maven and Gradle builds with BOM dependencies, Kotlin DSL version catalogs, and GitHub Actions CI pipelines. CX Codex +1 293installs

Project sponsors

Companies that keep this analytics open