Docker tips and tricks for Java Developers

Track: Microservices
Skill Level: Beginner
Room: Room A302
Time Slot: Thu 2/23, 5:30 PM
Tags: java , container , docker , cloud
Abstract

It’s been only a short 2 years - and it seems like just about everyone may know how to build a Docker container now. However, the newly built container image may not be the most optimal or secure. To build the ultimate container image takes many best practices, for example:
- Don’t use a root user
- Repeatable builds takes discipline to pin versions
- Your immutable image isn’t as immutable when it’s running!
- Certain actions may double your container size!
- Fat Jars may not be container image friendly
- The differences between the popular Maven Docker plugins
- How to tag your images with the plugin and store metadata in the container itself
- Why did your disk run out of space?

Join this session to learn how to best address these issues when building your Java container images.

Ray Tsang

Ray is a Developer Advocate for the Google Cloud Platform. Ray had extensive hands on cross-industry enterprise systems integration delivery and management experiences during his time at Accenture, managed full stack application development, DevOps, and ITOps. Ray specialized in middleware, big data, and PaaS products during his time at Red Hat while contributing to open source projects, such as Infinispan. Aside from technology, Ray enjoys traveling and adventures.

Follow Ray on Twitter @saturnism (https://twitter.com/saturnism)