I got the question how to solve the problem that when backing up the storage of a dockerized Postgres database (using Resticker) it could be that the backup is corrupt because the database is still running.
I admit it, I am a big fan of pre-packaged software. Software that I simply set up by typing a single command or just adding a few lines to my existing configuration. I like simplicity and this kind of software makes things a lot easier and lets one focus on getting work done.
I just migrated my main server (a VPS at Hetzner) from RancherOS to Alpine. While I considered Alpine already as a Docker host when I setup RancherOS, Alpine wasn’t Docker-host-ready yet. But time passed and now it’s even simpler to setup a Alpine Docker host than it is to install and maintain a RancherOS server. I really love Alpine for it’s simplicity and lightweight size and use it as a base image whenever I need to create a Dockerfile. Let’s see if I’ll get any unpleasant surprises or if everything works as expected. And sorry for any downtime of my blog or website.
Jérôme Petazzoni published a great article on the Ardan labs blog about reducing the size of Docker images. He compares different ways to package a binary into an image by using different base images and either dynamic or static linking. The conclusion is that although you can get really tiny images with SCRATCH, it is probably not worth it because it is more difficult to debug.
One of the most visited pages on my blog is about how to automatically backup Docker volumes. In that post I use the Docker image blacklabelops/volumerize. Unfortunately that image is deprecated since March 2019 and not longer maintained.
A few weeks ago PostgreSQL 11 was released with a few new features and probably also a lot of improvements and bug fixes since the last release. Although I don’t really have the need to update to the latest version (I just use PostgreSQL as database for my Nextcloud and Miniflux installations), I wanted to migrate it though, to have everything up to date and probably profit from those smaller improvements.
Hugo is a framework to build static websites. Yesterday I migrated this blog from Ghost - a dynamic NodeJS based CMS - to Hugo, not only to reduce the hardware requirements (a static page uses way less resources), but also to simplify my setup.
Containers are wonderful and Docker is a really awesome and lifesaving technology, even if you don’t host sites and services with millions of users that need to auto-scale etc. Docker can already simplify a simple hosting setup just with a couple of small webpages and a Git server.