agentic-stacks /

docker

v2026.0402.1

Complete operational knowledge for building, deploying, managing, and troubleshooting production containerized applications using Docker Engine. Covers the full lifecycle from Dockerfile authoring and image optimization through single-host and Swarm deployments to day-two operations, security hardening, and disaster recovery.

Install:

pipx install agentic-stacks  # if you haven't already
agentic-stacks pull agentic-stacks/docker

Skills

concepts

Docker architecture, containerd, OCI runtimes, image layers, namespaces/cgroups

installation

Installing Docker Engine on Linux, macOS, Windows, post-install configuration

configuration

daemon.json settings, storage drivers, logging drivers, runtime configuration

dockerfile

Dockerfile syntax, instructions, multi-stage builds, best practices

compose

Compose file authoring, services, profiles, extends, variable interpolation

build-optimization

BuildKit, layer caching, .dockerignore, image size reduction, build arguments

registry

Push/pull workflows, private registries, Harbor, ECR/GCR/ACR, image signing

single-host

docker run, compose up, restart policies, resource constraints

swarm

Swarm init, services, stacks, overlay networking, rolling updates, secrets

production

Reverse proxies, TLS termination, secrets management, resource limits, logging

health-check

Container health checks, system health, docker events, monitoring integration

networking

Bridge, host, overlay, macvlan, DNS resolution, port mapping, network troubleshooting

storage

Volumes, bind mounts, tmpfs, storage drivers, NFS, shared storage

security

Rootless mode, user namespaces, seccomp, AppArmor, image scanning, CIS benchmarks

upgrades

Docker Engine upgrades, image update strategies, zero-downtime redeployment

backup-restore

Volume backup, container export/import, Swarm state backup, disaster recovery

troubleshooting

Symptom-based diagnostic decision trees for common Docker issues

cli-reference

Essential docker and docker compose CLI patterns and one-liners

known-issues

Docker 27.x specific bugs, caveats, and workarounds

compatibility

OS, kernel, storage driver, and runtime compatibility matrices

decision-guides

Trade-off analyses for storage drivers, networking modes, orchestration, registries