Tag: docker
Browse 23 practical software engineering resources tagged with "docker". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving docker. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.
Containerization with Docker
Docker containers have fundamentally changed how applications are packaged, shipped, and deployed. Building efficient images requires understanding multi-stage builds, layer caching, security scanning, and the difference between development and production image configurations.
The resources below demonstrate practical patterns for writing optimized Dockerfiles, orchestrating multi-container applications with Docker Compose, debugging running containers, and integrating container builds into CI/CD workflows.
Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.
Deploy Containers to AWS ECS with Fargate
How to deploy Docker containers to AWS ECS using Fargate serverless compute with Terraform and...
Container Image Security Scanning with Trivy
Scan Docker images for vulnerabilities, misconfigurations, and secrets using Trivy, integrate...
Docker Basics
How to containerize an application, write a Dockerfile, and run containers with Docker Compose.
Docker Compose Dev/Prod Split: Separate Environments
Separate development and production Docker Compose configs with overrides
Local Microservices Development with Docker Compose
Orchestrate multi-service local environments with Docker Compose including databases, caches,...
Override Docker Compose Configs per Environment
How to use Docker Compose override files for environment-specific configurations, covering dev,...
Docker Health Check Configuration for Container Reliability
Add proper health checks to Docker containers with HEALTHCHECK
Scan Docker Images for CVEs with Trivy and Grype
Scan Docker images for vulnerabilities before deployment using Trivy and Grype. Covers CI...
Centralize Container Logs with Fluentd and Docker
Collect, filter, and forward Docker container logs to Elasticsearch, S3, or stdout using Fluentd as...
Slim Production Images with Multi-Stage Docker Builds
How to build minimal production Docker images using multi-stage builds with distroless base images,...
Docker Multi-Stage Build Optimization for Smaller Images
Reduce Docker image size with multi-stage builds and proper layering
Docker Network Isolation and Inter-Container Security
Secure inter-container communication with custom Docker networks, network segmentation, and access...
Docker Secrets Management Without Hardcoding Credentials
Inject secrets into containers using Docker secrets, env files, and external secret managers...
Immutable Infrastructure
Build immutable infrastructure with versioned machine images and containers to eliminate...
Container Security Scanning
Scan container images for vulnerabilities, misconfigurations, and secrets with Trivy, Clair, and...
Java Testcontainers Integration Tests
How to use Testcontainers in JUnit5 to spin up real Postgres, Redis, and Kafka containers for...
Container Security Baseline Template
A baseline template for hardening container images, runtimes, and orchestration configurations...
Docker Image Hardening Checklist
Checklist for hardening Docker container images for production: base image selection, user...
Local LLM Deployment: Ollama, vLLM & llama.cpp
Deploy large language models locally and on-premise. Covers Ollama, vLLM, llama.cpp, quantization,...
Docker Compose: Multi-Service Local Development
Master Docker Compose for local development: multi-service environments, networking, volumes,...