How to run 1. docker run --name test -e MYSQL_ROOT_PASSWORD=root -d mysql 2. docker exec -it ${CONTAINER_NAME} bash 3. create database test Run the application org.example.hibernate.BenchGetSession