Docker tutorial - IT technology blog

Deploying Ruby on Rails with Docker: Multi-stage Builds, Asset Precompile, and Sidekiq Workers in Production

Deploying Ruby on Rails with Docker typically runs into three major problems: a bloated 1.8GB image, asset precompile failures inside the container, and Sidekiq sharing a process with Puma. This post walks through fixing all three using an optimized multi-stage Dockerfile and a Docker Compose stack with the web and worker services fully separated — drawn from 6 months of production experience.
Docker tutorial - IT technology blog

Advanced Docker Swarm: Rolling Updates, Placement Constraints, and Zero-Downtime Deployments

A detailed guide to configuring Docker Swarm for production: zero-downtime Rolling Updates with order: start-first, Placement Constraints for proper workload distribution, and Docker Config/Secret for secure configuration management. Written for those who already know Swarm basics and want to level up to a real production environment without deployment downtime.