How One Engineer Reduced a Docker Image from 2GB to 55MB
from The Software Engineering Podcast with Fexingo: Code, Architecture, and Engineering Best Practices Hosted by Fexingo
In episode 129 of The Software Engineering Podcast, Lucas and Luna dive into a real-world Docker image optimization story. A backend team at a mid-sized fintech startup was pushing a 2GB container to production — causing five-minute deploy times and massive storage costs. One engineer, Sarah Chen, spent a week systematically shaving off layers: switching from Ubuntu to Alpine Linux, using multi-stage builds, removing build-time dependencies, and compressing with UPX. The result: a 55MB image, deploy times under 30 seconds, and $40,000 in annual AWS ECR savings. Lucas breaks down each technique, Luna pushes back on the trade-offs — like compatibility risks and debugging difficulty — and the hosts debate whether extreme optimization is always worth the engineering time. Packed with actionable tips for anyone who's ever watched a docker build crawl. #Docker #DockerImage #ContainerOptimization #AlpineLinux #MultiStageBuilds #UPX #CI #CD #DevOps #Fexingo #SoftwareEngineering #Technology #FexingoBusiness #BusinessPodcast #EngineeringPodcast #DeployTimes #CostSavings #TechTips Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.