docker
Installation
SKILL.md
Docker
Docker standardizes application delivery by packaging software into portable OCI containers, utilizing BuildKit multi-stage builds and vulnerability scanning for secure supply chains.
When to Use
- Application Containerization: Packaging code, runtime, system libraries, and settings into portable, reproducible container images.
- Multi-Stage Build Optimization: Creating ultra-small, secure production container images stripped of compilers and build tooling.
- Local Microservice Development: Orchestrating multi-container environments (app, database, cache) with Docker Compose.
- Standardized CI/CD Artifacts: Building OCI-compliant images deployed to Kubernetes, ECS, or serverless container runtimes.
Quick Start
# syntax=docker/dockerfile:1
FROM node:22-alpine AS base
WORKDIR /app
COPY package*.json ./