在 Dockerfile 中 COPY ./init.sql /docker-entrypoint-initdb.d/ 根据“初始化新实例”部分在https://hub.docker.com/_/mysql/中。