Thanks for the article, it was a big help!
Alexander Roberts
1

Alpine is likely a much better base image for most people.

Image size is not a big concern in many scenarios, due to how Docker layers work. For registries like ECR or Docker Hub, you only push and pull new image layers — so the total layer count matters more than the full image size. If you’re deploying to a static server, you’ll take advantage of this by only fetching the new layers, which ought to be small.

However, if you’re deploying with a blue / green deployment style, or running in a cluster like Kubernetes, you might see some slowdown when you download the full image on new nodes. We have been seeing issues with our image sizes on our Kubernetes cluster, but mostly when running GPU jobs (which scale new nodes each time).

Show your support

Clapping shows how much you appreciated Jesse Kinkead’s story.