Module 13 Β· Ship It & Graduation β Lesson 2 of 3 Β· ~11 min
Containerizing
Why Go containers are famously tiny
Most platforms deploy your service as a container image β a portable bundle of your program and everything it needs to run. For an interpreted language that bundle is huge: you ship the runtime, the package manager, and a whole base OS, often hundreds of megabytes.
Go changes the math. go build already produced one statically-linked binary that needs nothing else. So the container doesn't need an OS, a runtime, or libraries β just the binary. A PawWalk image can be a few megabytes, and it starts in milliseconds.
Small images pull faster, deploy faster, scale up faster under load, and carry almost no packages an attacker could exploit. This is Go's deploy story paying off.