Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
sudo docker run --name mysql --network {네트워크} \
-e MYSQL_DATABASE=database \
-e MYSQL_USER=database \
-e MYSQL_PASSWORD=database \
--mount type=bind,source=/home/ubuntu/mysql,target=/var/lib/mysql \
mysql:5.7 \
--character-set-server=utf8mb4 \
--collation-server=utf8mb4_unicode_ci \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.