[英]How to start a mysql docker container with a dump.sql file in a single command without using docker-compose
I need to start a mysql docker container with an initial dump file or create a mysql docker image with initial data.我需要使用初始转储文件启动 mysql docker 容器,或者使用初始转储文件创建 mysql Z05B6053C41A21340AFD6 图像。 I don't need to start docker container first and then execute with the dump file in separate commands.我不需要先启动 docker 容器,然后在单独的命令中使用转储文件执行。 I need to run it using a single command.我需要使用单个命令运行它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.