agentsclimarketplace

Docker

Skill G1Joshi/Agent-Skills/skills/devops/docker

A comprehensive skill catalog for AI agents

Install
npx -y skills add G1Joshi/Agent-Skills --skill docker

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Docker containerization with Dockerfile, Compose, and multi-stage builds. Use for containers.

SKILL.md

1.8 KB, 407 tokens by cl100k_base, as published. Nobody here has run it

Docker

Docker standardizes software delivery by packaging apps into containers. In 2025, Docker emphasizes BuildKit for high-performance builds and Docker Scout for supply chain security.

When to Use

  • Local Development: Replicate production environments locally (docker compose).
  • CI/CD: Standard unit of deployment for 99% of modern pipelines.
  • Legacy Migration: Wrap old apps in containers to extend their life.

Quick Start (BuildKit)

# syntax=docker/dockerfile:1
FROM node:22-alpine AS base
WORKDIR /app
COPY package*.json ./

FROM base AS deps
RUN npm ci

FROM base AS release
COPY --from=deps /app/node_modules ./node_modules
COPY . .
CMD ["node", "index.js"]

Core Concepts

BuildKit

The modern build engine (default in 2025). Features concurrent build steps, secret mounting, and cache exports. DOCKER_BUILDKIT=1 docker build .

Multi-stage Builds

Keep images tiny by separating "build" environment (compilers, SDKs) from "runtime" environment (minimal OS).

Docker Compose

Define multi-container apps. docker compose up -d --watch (New watch mode syncs files continuously).

Best Practices (2025)

Do:

  • Use docker init: Generates best-practice Dockerfiles and .dockerignore for your language.
  • Use Distroless / Alpine: Minimize attack surface.
  • Scan with Docker Scout: Check for CVEs early in the pipeline.

Don't:

  • Don't run as Root: Use USER node or create a specific user in the Dockerfile.
  • Don't leak secrets: Use --mount=type=secret during build, never COPY .env.

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,984. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.