Skip to content

Instantly share code, notes, and snippets.

@k8scat
Last active October 7, 2025 09:40
Show Gist options
  • Select an option

  • Save k8scat/6e439756b9d5e6195a9466d6bc5e4bed to your computer and use it in GitHub Desktop.

Select an option

Save k8scat/6e439756b9d5e6195a9466d6bc5e4bed to your computer and use it in GitHub Desktop.
run mysql56 in a docker container
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