katalon-studio-samples / ci-samples

Sample configurations for various CI systems.
Apache License 2.0
54 stars 169 forks source link

Volume mounts issue in Windows #2

Closed yellowcola closed 5 years ago

yellowcola commented 6 years ago

In case anyone running the sample code in windows: you need to add a slash in front of the directories in the docker command. Otherwise, docker can't find the folder to mount.

e.g.
instead of "... docker run --rm -v "$project_dir":/katalon/katalon/source:ro ...", you need to add a slash before "$project_dir". Like "... docker run --rm -v "/$project_dir":/katalon/katalon/source:ro ...".

minhhai2209 commented 6 years ago

Thank you for the tip. I'll check and fix the scripts.

minhdoan159 commented 6 years ago

I am running katalon image using Docker for Windows and see same issue as @yellowcola raised and the solution adding the slash works for me. Thanks!

devalex88 commented 5 years ago

I've updated the sample script based on your suggestion. Thank you!