
Update Docker stacks easily
Usually, Docker stacks on a system are all located within the same folder, e.g., /opt. If these stacks are properly set up with a docker-compose.yml file, a simple docker compose pull followed by a docker compose up -d will update the stack.
To have this done automatically for many stacks, I wrote the following script.