Last active
October 7, 2025 09:40
-
-
Save k8scat/6e439756b9d5e6195a9466d6bc5e4bed to your computer and use it in GitHub Desktop.
run mysql56 in a docker container
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
| docker volume create mysql56-data | |
| docker run \ | |
| -e MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD \ | |
| --privileged=true \ | |
| -d --name mysql56 \ | |
| -v mysql56-data:/var/lib/mysql \ | |
| -p 33061:3306 \ | |
| --ulimit nofile=65536:65536 \ | |
| mysql:5.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment