~/talk

Write Once, Run Anywhere? Building Perfect Docker Images for Java Apps

Talkat DevDays Europe 2024 · 2024-05-20..05-24· [devops-and-delivery]
links:none on file
slides:none on file

Compares three concrete build paths: classic Dockerfile/buildx, Spring Buildpacks (slow but configurable), and Jib (creates image without Docker daemon); measures show a Mac M1 run uses emulation and inflates Java startup from ~3s to ~30s; most image bytes are JVM+OS (~80%) so a fat jar creates one huge invalidated layer while multi-layered images speed push/pull and startup; tooling demonstrated: Dive, container-diff, lazydocker, New Relic; recommends setting container memory/CPU limits and JVM memory flags and building multi-arch images when needed.

AI-written summary · about

  1. 0:00Docker for Java apps
  2. 5:26Java’s ‘Write Once Run Anywhere’
  3. 13:19How Docker images work
  4. 17:58Three ways to build Java images
  5. 25:13Efficient Docker image design
  6. 30:55Multi-platform Java images
  7. 34:07Java runtime in Docker
  8. 37:17Docker Desktop alternatives
  9. 38:20Optimizing Docker workflows
  10. 44:29Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.