Skip to content

Instantly share code, notes, and snippets.

@phmLabs
Last active December 11, 2017 12:01
Show Gist options
  • Save phmLabs/0b7cb3b6a0fccfcc9ea994ba47d5ff21 to your computer and use it in GitHub Desktop.
Save phmLabs/0b7cb3b6a0fccfcc9ea994ba47d5ff21 to your computer and use it in GitHub Desktop.
Start mysql as docker container
docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d -p 3306:3306 -v /Users/exthcont049/mysqldata:/var/lib/mysql mysql:5.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment