Tag Archives: docker

Notes on systemd

courtesy of chatgpt Best practices on creating user account

Posted in Uncategorized | Tagged , , , , | Leave a comment

CloudFlare 522 once again!

TL;DR: In a Dockerized setup this can happen if the Docker port forwarding stops working as it did in our case (all of a sudden). That caused the ELB (elastic load balancer) health probe to fail and the load balancer … Continue reading

Posted in Software | Tagged | Leave a comment

How to check in Bash script if a Docker volume does not exist

Sometimes you may want to check if a Docker volume exists or not in a Bash script: To check existence of a Docker volume we can use the docker volume ls command with the name option but there are several … Continue reading

Posted in Software | Tagged , | 1 Comment

Access Denied for User ‘root’@’localhost’ (using password: YES)

In this post I describe a lesser known reason you may run into Access Denied for User ‘root’@’localhost’ (using password: YES) error when trying to login to MySQL. The setup is as follows: you are running MySQL inside a Docker … Continue reading

Posted in Software | Tagged , | Leave a comment

Bash script to upgrade a Docker container

Problem: We have an application that has a single instance and runs in a Docker container and further uses a swarm network. We want to write a bash script using which we can deploy new version of the application. The … Continue reading

Posted in Software | Tagged , | Leave a comment