[Photo by Tom Fisk from Pexels](https://www.pexels.com/photo/birds-eye-view-photo-of-freight-containers-2226458/)

Best practices for writing Dockerfiles - Use .dockerignore

Learn best practices for writing Dockerfiles by using .dockerignore to optimize build times and exclude unnecessary files from the build context.

2022-09-11 · 1 min · timor
[Photo by Tom Fisk from Pexels](https://www.pexels.com/photo/top-view-photography-of-cargo-ship-with-intermodal-containers-3057963/)

Dockerfile writing best practices

Learn best practices for writing Dockerfiles to create efficient, secure, and maintainable Docker images, based on real-world experience and insights.

2022-09-10 · 2 min · timor
Devoxx 2022

Back on the big stage!

Announcing my return to the big stage with a talk on managing Docker base images at scale, presented at the Devoxx 2022 conference in Kraków.

2022-06-13 · 1 min · timor

Official CentOS 8 Stream Docker image finally available!

Discover the availability of the official CentOS 8 Stream Docker image on quay.io, and learn about the transition from Docker Hub and its implications.

2021-07-25 · 2 min · timor

How to run JMX monitoring in Docker image?

Learn how to run JMX monitoring in a Docker image, including the necessary Java parameters and configuration for connecting to JMX consoles like VisualVM or Jconsole.

2021-02-19 · 1 min · timor

CentOS 8 Stream Docker image

Learn about the creation and optimization of a CentOS 8 Stream Docker image, including steps to squash the image and ensure it is suitable for production workloads.

2021-02-11 · 2 min · timor

How old are Official Docker images?

Discover the age and update frequency of various official Docker images, and learn why it’s important to keep your base images up to date for security and performance.

2021-01-28 · 2 min · timor

Automatically build after file change

I’m playing a lot with Docker lately. Building images, and then rebuilding, and then building again… It’s pretty boring. To automate this task a little I used inotify to build automatically after I changed any file. This trick could be used in many different situations. You will need inotify-tools package: sudo apt-get install -y inotify-tools Then run something like this: while inotifywait -e modify -r .; do docker-compose build; done This commands will rebuild my Docker images after any file change in current directory. Use Ctrl+c to exit from loop. ...

2016-02-23 · 1 min · timor

Install Docker Compose

When I started playing with Docker I was running a lot of commands to build image, delete containers running on old image, run containers based on new image, etc… A lot of log commands with links, volumes, etc… Then I started searching for something to automate this task and here I get to docker-compse command, this is how you may install it: pip install docker-compose And install additional bash completions (run as root): ...

2016-02-12 · 1 min · timor

Manual installation of Docker on Debian/Ubuntu

I’ve played with Docker a little in it early days but didn’t stick for longer with it. It’s stable now so I wanted to check how it’s running now. I really can’t accept this method of installation: curl -fsSL https://get.docker.com/ | sh I think that world is going to it’s end when I see such scritps… I prefer to do this manually, knowing exactly what I have to do. Install prerequisites: ...

2016-02-11 · 2 min · timor