docker and zombie processes – pid 1 in containers

I realize that the issue I’ll write about is most likely common and known to you. I have only come by this issue today and this post is for me to remember the most valuable lessons I learned. The problem I ran an Icinga2 in Docker containers. It was a hassle to say the least.… Continue Reading docker and zombie processes – pid 1 in containers

debug php inside a docker container with vscode (on mac os)

To debug php code inside a Docker container using VSCode as your IDE, proceed as follows: Install php and the relevant extensions using your Dockerfile like so: Add the following xdebug config and copy it over to your image like so: Please note specifically: The client_host “host.docker.internal” is a Docker for Mac specific thing. It… Continue Reading debug php inside a docker container with vscode (on mac os)

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

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