Bad Docker Patterns

I started using Docker about two years ago and in that time I’ve tried a lot of different things, these are some of the ones that weren’t very good ideas:

Different runtime images for each environment and app

Not using a private registry

Now that we have a registry a build job create images in a controlled environment and build jobs can pull image down to any box. If we add a new node to our build cluster it will take a while to download images but it doesn’t require any manual intervention.

Using the latest tag

Downloading from the internet in Dockerfiles

Like this post? Hit the green heart and share it with your friends!

--

--

Senior Software Development Engineer @ Amazon. Trumpet player, drum corps enthusiast.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kevan Ahlquist

Senior Software Development Engineer @ Amazon. Trumpet player, drum corps enthusiast.