docker exec mount volume code example
Example 1: docker mount volume
docker run -v /host/directory:/container/directory -other -options image_name command_to_run
Example 2: docker exec mount volume
#make sure that you are inside the same directory
docker run -v pwd:/container/directory -other -options image_name command_to_run