再docker命令行中导入、导出mysql数据

docker exec -i mysql_server mysqldump -upacaya -ppacaya baokuchina > /home/zhaoqiang/download/baokuchina.sql

导入

docker exec -i mysql-server mysql -upacaya -ppacaya baokuchina < /home/zhaoqiang/download/baokuchina.sql