-
-
Save tblancog/3ca182880e2aad8bcbd8257ab54f7ae6 to your computer and use it in GitHub Desktop.
Dockerized mysql
This file contains 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 --name database-name-mysql -v /my/local/path:/var/lib/mysql -p 3306:3306 -e MYSQL_USER=db_dbuser -e MYSQL_PASSWORD=SOMEPASSWORD -e MYSQL_DATABASE=DATABASE-NAME -e MYSQL_ROOT_PASSWORD=root-password -d mysql:5.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment