Gab's Notes
  • Home
  • About
Sign in Subscribe

Docker

A collection of 4 posts
Upgrade PostgreSQL in Docker
self-hosting Docker

Upgrade PostgreSQL in Docker

Upgrading postgresql in Docker can't be done in-place, so here's a scripted version to help you do so.
Aug 17, 2023 2 min read
Chowning files can take a lot of space in a Docker image
Docker ITSF

Chowning files can take a lot of space in a Docker image

Today I learned that recursively changing the owner of a directory tree in a Dockerfile can result in some serious increase in image size. 🚛 The issue You may remember how in a previous post we used a small example to discuss layers and final image size. Well, here's
Mar 2, 2021 3 min read
Lighten your Python image with Docker multi-stage builds
Docker Python

Lighten your Python image with Docker multi-stage builds

In previous posts we talked about poetry and Docker images layers and I promised I would write about Docker multi-stage builds, so here we go! 💡I will explain the basics of Docker multi-stage builds required to understand the post, but I won't repeat the documentation (see further reading)
Jan 2, 2021 5 min read
Docker images layers and cache
Docker

Docker images layers and cache

In this post, we'll walk through Docker image layers and the caching around them from the point of view of a Docker user. I'll assume you're already familiar with Dockerfiles and Docker concepts in general. ✌️ The two axioms of Docker layers There are two
Dec 28, 2020 9 min read
Page 1 of 1
Gab's Notes © 2025
  • Licenses
Powered by Ghost