Last active
September 20, 2017 02:28
-
-
Save shau-lok/fdf2f5cd7aec23fd93fbc1313fcd3b4b to your computer and use it in GitHub Desktop.
docker mysql
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
# pull | |
docker pull mysql | |
# run | |
docker run --name local-mysql -e MYSQL_ROOT_PASSWORD=password -itd mysql:latest | |
# enter | |
docker exec -it local-mysql bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment