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:

docker container stuck in ‘new’ state forever

I’ve had this issue a couple of times and I formulated a devops-stackexchange question eventually. Although I do not yet really have a way to debug the NEW state, there is some information there: Docker container stuck in “new” state – Docker swarm – service stack

Install docker-machine on osx

Because since recently, whenever I update Docker, my docker-machine command is gone and I keep forgetting how to re-install it: This is to save time next time it happens. Instructions provided on docker/machine Github.

Allow jenkins user to sudo

This is just a quick repost of RUN A SHELL FROM JENKINS USING SUDO (UBUNTU) Disclaimer: This is UNSAFE and you should NEVER do it unless in a protected, shielded and non-public-accessible dev environment. This is not even safe enough for a permanent testing environment.

Disabling HSTS for any domain

Google has HSTS and some domains fall under it automatically. This makes Chrome automatically use HTTPS instead of HTTP. As I often work on local/development/testing environments in internal, protected networks HTTPS is not necessary. Yet Chrome forces me to HTTPS everytime anywas. This thread to the rescue: How to stop an automatic redirect from “http://”… Continue Reading Disabling HSTS for any domain