部署mysql的docker鏡像,參考:docs.docker.com/samples/lib…mysql
docker pull mysql docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag --character-set-server=utf8mb4 docker exec -it some-mysql bash 複製代碼