Docker Strategies for Load Balancing and Failover
Add load balancing and failover to your Docker setup using Swarm, nginx, HAProxy, and Keepalived, high availability without Kubernetes.
All the articles with the tag "docker".
Add load balancing and failover to your Docker setup using Swarm, nginx, HAProxy, and Keepalived, high availability without Kubernetes.
Access services on the host machine from inside a Docker container using host-gateway or host.docker.internal, no hardcoded IPs.
Containers share the kernel; VMs have their own. Understand the isolation trade-offs, overhead differences, and when to use which.
Run multiple commands in one docker exec call by piping a heredoc to the container shell, chain dependent steps and skip repeated container roundtrips.
Shell globbing breaks inside docker exec because of how args are parsed, here's how to pass wildcards and asterisks correctly.
Automate a full WordPress stack deployment, Docker, nginx, and MySQL, using Ansible playbooks instead of clicking through wizards.
Automate Docker container deployment with shell scripts, cron, and Ansible, stop SSHing in and restarting things by hand.
Logs, metrics, and traces for Docker containers, Prometheus, Loki, Grafana, and OpenTelemetry to know what's happening inside your stack.
Docker needs a daemon; Podman doesn't. Compare architecture, rootless support, Compose compatibility, and which one belongs in your workflow.
Move beyond single containers, Docker Compose lets you define and run multi-service apps with one YAML file and one command.
Wiki.js is a gorgeous self-hosted wiki with Markdown, WYSIWYG, and Git sync, Docker Compose setup with PostgreSQL backend.
NocoDB wraps any SQL database in a spreadsheet UI, self-host an Airtable alternative on top of MySQL, PostgreSQL, or SQLite with Docker.