Tag: Docker

Script to restart all docker-compose configs (or just one of them)

October 19, 2021

If you update the image for a docker-compose config, you can restart each of the containers by running Assuming you have a directory structure like the following: You can write a simple script to traverse each of the directories and restart the container Save the script as something like restart.sh in the root directory of…

Read more →

Migrate MySQL from native installation to docker(ubuntu)

June 12, 2021

“It worked yesterday” Please let me know in the comments if this process can be improved, or if I forgot a step. Remember to make proper backups/snapshots of your Server before proceeding with the steps below Export your Databases From the command-line, you can use mysqldump to export all your databases Docker-compose file Make a…

Read more →