Docker and Podman from Design to Best Practice for Java Developers and Architects
summary
Practical guide to containerizing Java: demonstrates Docker and Podman parity, a working microservices stack (Spring Cloud gateway, config server, Eureka) with three services plus Postgres and H2, Docker Compose files and a preloaded Postgres image that boots with seeded data, and a Jib-built image workflow that sometimes requires Maven plugin fixes. Emphasizes pin base image tags, multi-stage builds to cut image size and build time, use non-root user and externalize config via volumes/env vars; GitHub repo contains runnable code.
AI-written summary · about
chapters (8)
- 0:00Introduction and overview
- 1:07Designing Dockerfiles for Java
- 13:59Best practices for Docker builds
- 23:34Q&A on Docker configurations
- 25:41Java frameworks and plugins
- 33:47Docker vs Podman comparison
- 37:19Case study and demo walkthrough
- 44:27Resources and closing remarks
related talks
46mEffective Docker and Kubernetes for Java EE Developers
25mKubernetes for Java Developers
49mDockerfiles, Jib ..., what's the best way to run your Java code in Containers?
30mUp and Running with Java Microservices
48mKubernetesize your Java application
53mEffective Kubernetes for Cloud Native Java Developers
46mDockerfiles, Buildpacks, Jib and more, best way to run Java code in Containers?
35mDocker, microservices, functional programming (...)
