Quick and dirty: Backup MySQL from Docker Container to local filesystem
I have a little shell script to backup some of my MySQL Databases running in a docker container.
It first finds the ID for the container and then exec the mysqldump command inside the container and save it outside:
#!/bin/bash
# config section
SERVICE_NAME="service"
DB_NAME=