ads' corner

How installing nftables broke ssh-copy-id

While testing a new feature for WarehousePG in our Docker containers, I ran into an unexpected problem: I wanted to block certain network traffic between the Docker hosts, and therefore installed nftables. Suddenly very early in the startup process the ssh-copy-id ssh key exchange broke.

Docker Secrets and hiding sensitive information in Docker build output

While building a container, I need to pass a token into the build process. The container build step needs to download a package using said secret token - and that token is part of the URL. The token will show up on the screen, and potentially in any logfile. Not good.

Show all docker build output

Docker by default will hide the process output of a step once the step is completed. During development I'd like to see the full outout.

Clear Docker build cache

Docker keeps all built images in a cache, which grows over time. Removing the build layers is not obvious, there is no specific Docker 'cache' command.

How many Raspberry Pi can be operated in a Shipping Container

Back in December, during PGConf.EU 2023 in Prague, we had a discussion about datacenter hosting. Someone brought up Microsoft’s underwater datacenter experiment from a few years ago. And then someone else asked the obvious question: is it possible to run a datacenter in a shipping container using only Raspberry Pi computers. At first glance, this might seem impractical. But is it really? Let’s crunch the numbers and find out!

Obsidian Snap: version GLIBC_2.33 not found

Obsidian snap version was upgraded on my Ubuntu system - and stopped working. The whole promise of having a snap or containerized version of an app is to avoid dependency problems. That's a broken promise.

Firefox Multi-Account Container Extension: Separate containers and cookies for websites

Firefox is very extensible, and the app store has a large number of extensions one can install. One of these extensions is the Multi-Account-Container plugin, which allows users to separate websites from each other. What it does is creating a separate environment for all the cookies, you get a separate instance of the browser in every container you create. That is very useful to containerise websites which like to track visitors everywhere, like Facebook as example. You create one container for Facebook, where you login into your account. And outside of this container you are not logged in, as far as Facebook is concerned.