Skip to content

Instantly share code, notes, and snippets.

@yeou
yeou / mysql-docker.sh
Last active January 25, 2017 10:30 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE