docker

Standardize Dockerfile creation and docker-compose orchestration for containerized applications.

3|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/vekzz-dev/opencode-skills --skill docker-vekzz-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker
Source: https://github.com/vekzz-dev/opencode-skills/tree/main/docker
Command: npx skills add https://github.com/vekzz-dev/opencode-skills --skill docker-vekzz-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of containerizing applications, managing multi-service environments, and ensuring production-grade security and performance.

Core Features & Use Cases

  • Multi-stage Builds: Optimize image sizes and build times for Java/Spring Boot applications.
  • Orchestration Patterns: Manage complex service dependencies and networking via docker-compose.
  • Security Hardening: Implement non-root users, read-only filesystems, and vulnerability scanning.
  • Use Case: Quickly generate a production-ready Dockerfile for a Spring Boot microservice or configure a local development environment with PostgreSQL and Redis.

Quick Start

Use the docker skill to generate a multi-stage Dockerfile for my Spring Boot application and configure a docker-compose file for local development.

Frequently Asked Questions about docker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a production-ready Dockerfile for a Spring Boot microservice?

To create a production-ready Dockerfile for a Spring Boot microservice, use multi-stage build optimization to minimize image sizes and manage service dependencies. This ensures efficient image layering and secure containerized application deployment.

What's the best way to manage service dependencies and networking in docker-compose?

The best way to manage service dependencies and networking in docker-compose is through standardized orchestration patterns. This handles complex multi-service environments by explicitly defining service dependencies for your local development setup.

How does multi-stage build optimization work for containerized applications?

Multi-stage build optimization works by using multiple FROM statements in a Dockerfile to copy only necessary artifacts to the final image. This reduces image size and build times by excluding intermediate build files from the production container.

How do I implement security hardening and non-root execution in Docker?

To implement security hardening and non-root execution in Docker, configure your container to run with non-root users, apply read-only filesystems, and enforce security-focused runtime configurations. These practices mitigate vulnerabilities in containerized microservices.

Can I configure a local development environment with PostgreSQL and Redis using docker-compose?

Yes, you can configure a local development environment with PostgreSQL and Redis using docker-compose orchestration. This standardizes multi-service environments by defining service dependencies and health monitoring within a single configuration file.