Last active
September 13, 2020 02:57
-
-
Save wamith/0d26b236bc48f72686beb7f3c8180528 to your computer and use it in GitHub Desktop.
Local Mariadb database using docker
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
!#/bin/bash | |
mkdir -p ~/var/lib/mariadb | |
docker pull mariadb | |
docker run --name mariadb-local -p 3306 -v ~/var/lib/mariadb:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password -d mariadb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment