Yet another networking method for Linux namespaces
All code for this can be found on github.
For an application that I’ve been working on, that leverages rootless containers (or rather, rootless namespaces as I don’t follow any of the container standards for this), I needed networking. Docker uses bridges by default, which require root. So that wasn’t worth looking at. Podman mentions slirp4netns quite a bit. Which requires an extra binary to be installed so isn’t ideal, but I ultimately added it as an option anyway (after I wrote what I’m about to talk about).
Plotting RuneScape Grand Exchange prices in Grafana for fun and ingame profit
How and why I wrote a Grafana datasource to browse prices of ingame items of RuneScape
Using private gitlab repositories in Gitlab CI with golang
In order properly build go software that depends on libraries in private gitlab repositories you’ll have to jump through some hoops. The following instructions are known to work as of 2019-12-14, I’ll try to keep this post updated in the future if needed.
Step 1. First of all we’ll want to create a new ssh keypair specifically for this usecase. I personally would startup a quick container for this using docker or podman, but this is also very easy to do on your normal host system.