Get csv_file in local directory

  containers, csv, docker, python, script

I have a problem with a Python script. In the script I’m creating a csv_file which I want to open in my local explorer. But the problem here is that I execute the script in a Docker Container and the csv_file doesn’t get created in my explorer.
So I tried several thing:
with os.getcwd() I get: /cmi_forecast_script
then with os.listdir(os.getcwd()) I see that my csv_file got created in this directory.
So I also tried to mount my local path to the Docker path: docker run -it -v <path in my explorer where the csv_file should get created>:/cmi_forecast_script -d <image_name>
Where is that directory and what can I do that the csv_file gets created in my explorer?

Source: Python Questions