screenshot from Gemini CLI

Running Gemini CLI in a Docker container

Learn how to run Google’s Gemini CLI in a Docker container to avoid installing Node.js and its dependencies directly on your system. This guide provides a simple setup, a recommended shell function for seamless integration, and usage examples.

2025-10-31 · 2 min · Tom
Example Hyperfine output

Benchmarking Docker image registries

Learn how to benchmark Docker registry performance using the Hyperfine CLI tool. A simple way to compare image pull speeds between registries like Artifactory, Harbor, Docker Hub, and Quay.

2025-08-31 · 2 min · Tom
[Photo by Pixabay](https://www.pexels.com/photo/blue-white-orange-and-brown-container-van-163726/)

Efficient Dockerfile templating for complex build scenarios

Why even consider templating Dockerfiles? Dockerfiles revolutionized the industry with their simplicity. Each instruction creates a new layer in the image, which is automatically cached. This process integrates well with SCM, where you “commit” the results of one stage and move forward with other changes. The process can be easily parameterized with ARG instructions, similar to ENV but provided during the build. This allows for creating highly flexible builds. For most users, this is more than sufficient. However, there’s a notable exception: Docker base images. ...

2025-01-01 · 14 min · Tom
[Photo by Harrison Haines](https://www.pexels.com/photo/rusty-ships-on-rippling-water-6292339/)

How old are Official Docker images? 2024 Edition

Discover the current age and update status of various official Docker images, including CentOS, Ubuntu, and Debian, in the 2024 edition of this analysis.

2024-03-24 · 2 min · Tom
[Generated by AI](https://www.bing.com/images/create/a-nice-logo-for-a-blog-post-about-file-system-in-c/1-65ef5d10460f428181c3ff8bcc359936?id=goqww%2bR2QLJoCYN4XjxV2w%3d%3d&view=detailv2&idpp=genimg&idpclose=1&thId=OIG2.yF78KU7PXi.xzuZrKVJa&FORM=SYDBIC)

Best practices for writing Dockerfiles - Follow "Filesystem Hierarchy Standard"

Learn best practices for writing Dockerfiles by following the Filesystem Hierarchy Standard (FHS) to enhance organization and maintainability of your Docker images.

2024-03-11 · 3 min · Tom
[Renovate Bot](https://github.com/renovatebot/renovate)

Automatic updates of Docker images with Renovate Bot

Learn how to automate Docker image updates using Renovate Bot, a versatile tool that supports various package managers and custom dependency links.

2024-03-01 · 4 min · Tom
[xkcd.com](https://xkcd.com/349/)

Best practices for patching and deprecating Docker images

Learn the best practices for patching and deprecating Docker images to maintain security and stability in your DevOps workflows.

2024-02-09 · 7 min · Tom
AI generated

How to run x86-64 Docker images on Apple's MacBook with M1/M2/M3 CPU

Learn how to run x86-64 Docker images on Apple’s MacBook with M1/M2/M3 CPUs by setting the DOCKER_DEFAULT_PLATFORM environment variable.

2024-02-06 · 1 min · Tom
[Photo by Ann H](https://www.pexels.com/photo/blue-tape-measure-on-yellow-surface-10894941/)

Checking compressed size of Docker image

Learn how to check the compressed size of Docker images to optimize download and startup times, using a simple bash function for accurate measurements.

2024-01-24 · 2 min · Tom
[Photo by RealToughCandy.com from Pexels](https://www.pexels.com/photo/a-person-holing-a-sticker-in-close-up-photography-11035380/)

The best way to get NVM working in CI/CD systems

Learn the best way to get NVM (Node Version Manager) working in CI/CD systems, ensuring seamless Node.js version management in your DevOps workflows.

2023-04-25 · 10 min · Tom