Fast DB Branching With BTRFS Subvolumes as Docker Volumes

I encounter a “rather” PITA problem that I’ve had for years: How do I load production DB into a test/integration/you-name-it environment without waiting half a day for it. Ok maybe you have a nice set of fixtures for your app, which eliminiates this need. Still, this need is pretty common. I previsouly stumbled upon this doc of BTRFS/ZFS as a driver for docker storage. And then I remembered this filesystems had CoW1 and snapshot capabilities. ...

May 8, 2025 · 2 min · 373 words · Rémi Desgrange

An Abstraction Failure. How a Frankernel Bites Us

Last week a colleague ping us on #container-support slack channel to report us a weird bug. A container worked on his machine, but not on our OpenShift cluster. He said that the dynamic linker was not able to resolve the libQt5Core.so.5. This was new since it worked perfectly for QGIS 3.10 but not in 3.16. Result of ldd /usr/local/bin/qgis_mapserv.fcgi|grep Core where: libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found libQt5Core.so.5 => not found What the hell happened on OpenShift that did not happened on the dev host (which is a ubuntu host)? Why in hell do we have lots of not found line? First Assumption We first (by we I mean colleagues and I) thoughts of: ...

January 29, 2021 · 3 min · 507 words · Rémi Desgrange

Reducing Python Docker Images Size

I’m using docker a lot to build and deploy the software that I (try to) write. I’m also writing a lot of Python. And one of the things that really annoy me is the size of docker images. Especially python. I often laugh about the size of a hello world in Go. But in Go you can deploy your application in docker with no extra cost. So, compiling this hello world in go : ...

April 19, 2019 · 6 min · 1108 words · Rémi Desgrange