Docker Who. Small Containers Through Time and Space
summary
Alpine Linux support is now in OpenJDK via the Portola work merged around JDK 16, enabling musl-linked JDK builds (used by Liberica JDK) that shrink base images from >250 MB to just a few megabytes and cut pulls from ~30 seconds to ~4 seconds. The port required cross-toolchains, lots of conditional fixes for glibc vs musl behavior, and testing; typical runtime features work, with a few musl/busybox quirks and optional native-image alternatives. musl-based OpenJDK in JDK 16 images reduced from >250MB to a few MB pull time from ~30s to ~4s
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker background
- 1:14Microservices and container growth
- 3:04Why smaller containers matter
- 7:46Optimizing container layers
- 10:39Base image size comparison
- 12:44Alpine Linux as the key tool
- 17:30Portola project and OpenJDK integration
- 21:44Technical challenges and solutions
- 24:56Native images and Java options
- 27:05Choosing the right base image
- 28:51Q&A on musl vs glibc
related talks
49mDocker Who. Small Containers Through Time and Space
50mDocker Who: Small Containers Through Time and Space
35mJava in a world of containers
25mCommit to Excellence - Java in Containers
55mDo not put all eggs in one container
42mChasing the Grail
20mSqueezing Java Containers: Shrinking Your Kubernetes Footprint with jlink
48mJava in Containers - Part Deux
