Skip to content

Instantly share code, notes, and snippets.

@ck196
Created May 23, 2018 09:50
Show Gist options
  • Save ck196/6f971226881bb86076b7948a58925e6d to your computer and use it in GitHub Desktop.
Save ck196/6f971226881bb86076b7948a58925e6d to your computer and use it in GitHub Desktop.
docker-mysql
docker run --name some-mysql -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment