Docker Recipes
View CommandsBuild, run, and manage containers and images. Streamline your development workflow with Docker Compose and networking.
10 recipes
Compose Dependency Ordering
Configure service startup order in Docker Compose using depends_on with health check conditions to prevent race conditions.
Compose Log Aggregation
Aggregate, filter, and follow logs across multiple Docker Compose services in a single terminal view.
Compose Networking Debug
Diagnose and fix networking issues between Docker Compose services including DNS resolution, port conflicts, and connectivity problems.
Container Debug with Ephemeral Containers
Debug running containers by attaching an ephemeral debug shell or inspecting container internals without modifying the original image.
Container Performance Monitoring
Monitor CPU, memory, network, and I/O usage of running containers to identify performance bottlenecks.
Dockerfile Linting and Security
Lint Dockerfiles for best practice violations and security issues using Hadolint to catch problems before building.
Health Check Setup
Configure container health checks so Docker can automatically detect unhealthy containers and orchestrators can restart them.
Image Size Audit
Analyze Docker image layers to understand what is taking up space and identify optimization opportunities.
Image Vulnerability Scanning
Scan Docker images for known security vulnerabilities using Docker Scout before pushing to production.
Multi-Stage Build Optimizer
Reduce Docker image size dramatically by using multi-stage builds to separate build dependencies from the runtime image.