About the Author

Luke Patterson

Gaining Docker Image Size Efficiencies By Separating Application Layers

Luke Patterson Development Technologies, Docker, Java, Spring Boot Leave a Comment

Problem

I was pushing a new Docker image tag for each application code commit, and the admins of the private registry were getting annoyed at how much space I was using.

Solution Summary

Yes, I know there are strategies to clean up old tags but I first wanted to reduce the impact of the tags I was pushing. With the right layering strategy, I knew I could reduce the net registry size increase of consecutive tag pushes.

I wanted to only push what had actually changed in the application. In addition to reducing the impact on the registry, having smaller tag deltas could possibly speed up rolling deployments since nodes could potentially have less to download.

Shrinkwrap before (or after) it’s too late!

Luke Patterson Development Technologies, Docker, Programming 2 Comments

Attention: The following article was published over 5 years ago, and the information provided may be aged or outdated. Please keep that in mind as you read the post.This happened to me… Twas the night before beta launch… I installed a new node module for a last minute feature and everything went haywire when the change was deployed. I reverted …

Caching Strategy Reminder for Maven-Based Docker Builds

Luke Patterson Docker, Java, Tutorial 14 Comments

Attention: The following article was published over 6 years ago, and the information provided may be aged or outdated. Please keep that in mind as you read the post.My local development feedback loop between code change and runnable container was annoyingly long on a Maven-based project I was recently working on. I wanted to speed things up. CodeProject The scenario …

Building Vagrant Boxes with VeeWee on TravisCI

Luke Patterson Development Technologies Leave a Comment

Attention: The following article was published over 8 years ago, and the information provided may be aged or outdated. Please keep that in mind as you read the post.(Pro Tip: you can safely skip the first 3 paragraphs) We’ve all been there: You push some .travis.yml commits and your clone gets parachuted into VM Land – only to find that things …