submit-paper / Danzero_plus

33 stars 7 forks source link

What is the content in the guandan_tog in container.sh file? #10

Open StevenUST opened 10 months ago

StevenUST commented 10 months ago

In the 6th line of container.sh file, I see there is a segment with '-v' as the heading.

-v /home/zhaoyp/guandan_tog:/home/zhaoyp/guandan_tog

'-v' is used in the command for creating containers, which maps a local directory into the container. What does the content within this local directory entail(/home/zhaoyp/guandan_tog)?

submit-paper commented 10 months ago

It's used to make the changes of codes in docker to be directly reflected in outside directories, which is convenient for checking. If you don't need to change the code in docker, it does not matter to not use it.