I’m writing a lot of docs at the moment. This might strike fear into some, but I really like it. They really help me to understand what I’m trying to achieve. Communicating ideas with others forces you to think more deeply about what you’re trying to do.
I finished up some Terraform config, and also learnt about Terraform workspaces this week. They let you save different state per workspace. Useful for different environments. Use of workspaces is encouraged by some and frowned upon by others. It works for me though.
Continuing my journey into Docker - I’ve been learning about image tagging. Using the
latesttag with Docker images is very common it seems, but the behaviour of
dockeris a bit odd. If you don’t specify any tag then your image will get
latestby default. This is problematic if you rely on
latestto pull your images into production as it’s very easy to not get the image you thought you were getting. It’s probably worth tagging your images with a specific tag and relying on that to save yourself potential future headaches.