Load MySQL Employees Sample Database into a already running docker container on Windows

  docker, mysql

I have a MySQL Docker container running in my local Windows machine. I want to load Employees database into that docker container.

Employees Database Reference: https://dev.mysql.com/doc/employee/en/

I tried using MySQL Workbench and "Run SQL Script", but it’s throwing below error:

[WinError 32] The process cannot access the file because it is being used by another process: 


After reading some article I think we may have one option of attaching the script file location volume into the container and run the script from docker command prompt, but that I’m unable to do it.

Anyone here have already done that?

Source: Docker Questions