Skip to content

Instantly share code, notes, and snippets.

@k8scat
Created October 7, 2025 09:39
Show Gist options
  • Select an option

  • Save k8scat/252d0507bbf918a9bc4f61ab60525e0b to your computer and use it in GitHub Desktop.

Select an option

Save k8scat/252d0507bbf918a9bc4f61ab60525e0b to your computer and use it in GitHub Desktop.
run mysql80 in a docker container
docker volume create mysql80-data
docker run \
-e MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD \
-d --name mysql8 \
-v mysql8-data:/var/lib/mysql \
-p 33060:3306 mysql:8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment