Created
June 13, 2015 16:14
-
-
Save bmichalski/aa53fc06ac43bfc1229d to your computer and use it in GitHub Desktop.
Load a MySQL dump into a running Docker MariaDB container.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it \ | |
-v /home/redmine/docker-mariadb-tools/exchange:/root/exchange \ | |
--link redmine-mariadb:redmine-mariadb bmichalski/mariadb-tools \ | |
bash -c "mysql -u root --host redmine-mariadb < /root/exchange/test" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment