docker login: incorrect username or password

When you run “docker login <myReg>” and Docker screams This might actually not be the problem. Thank you very much Docker, for this useless piece of error. While it might be possible that you’re just too stupid to type your username/password 500 times in a row (although not very likely), the error might be fixable… Continue Reading docker login: incorrect username or password

traefik gateway timeout

This is a networking problem. The traefik container cannot reach the destination container. This is most likely the problem of the default or specific network defined for traefik and the destination container. Assume this compose file: So you’d think your traefik default network configuration would look like this: But you have to remember that Docker… Continue Reading traefik gateway timeout

debugging jenkinsfiles

As a DevOps I spend a lot of time in Jenkins, automating stuff. Often pipelines will misbehave and I need ways of debugging things: Println Obviously the easiest way of getting information out of the running pipeline. Simulating a “breakpoint” Adding a somewhere in the pipeline pauses execution at that point which lets me check… Continue Reading debugging jenkinsfiles

check how much swap is used per process

This is simply a re-post of How to find out which processes are using swap space in Linux? which in return is based on northernmost.org’s Swap Usage – 5 Years Later Use like this:

find (and delete) files recursively on linux using find

Just as a reminder to myself, I will repost this post on baeldung: Recursively Deleting Files With a Specific Extension Get an idea of what you’ll be deleting: Reminder: Do backups and check that you’re in the correct location before starting the execution.

vs code tweaks

Currently my main editor is Visual Studio Code, which Microsoft has done a marvellous job on. Despite installing various extensions for the various things I’m working with, I will collect some tweaks here that I usually do, so I can remember them later: Navigate between tabs with Cmd+<number> Add the Cmd+<number> keybinding to your keybindings.json… Continue Reading vs code tweaks

osx docker, kubernetes, helm setup

Install Docker-Desktop: https://www.docker.com/products/docker-desktop Enable Kubernetes Cluster bundled with Docker: https://docs.docker.com/docker-for-mac/#kubernetes Install helm: https://helm.sh/docs/intro/quickstart/ Add kubectl and helm commandline completion to .zshrc: source <(kubectl completion zsh)source <(helm completion zsh)

debugging in vscode

I am currently debugging a 10+ year old PHP project, trying to migrate it to PHP 7.2 While debugging VSCode would start giving me “error evaluating code” and jump out of the debug session after the first step. When I stopped the debugger and reloaded the page, the page would load fine. So it didn’t… Continue Reading debugging in vscode