eth-cscs / sarus

OCI-compatible engine to deploy Linux containers on HPC environments.
https://sarus.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
130 stars 10 forks source link

Runtime Flag to change working directory #2

Closed marcodelapierre closed 4 years ago

marcodelapierre commented 5 years ago

This way, when using 3rd party container images, it is still possible to customise the container working directory at runtime. Might have a syntax similar to Docker: --workdir / -w

Madeeks commented 4 years ago

Hello @marcodelapierre, this feature was introduced with version 1.1.0, and is controlled through the --workdir option of sarus run: https://sarus.readthedocs.io/en/1.1.0/user/user_guide.html#working-directory

Please have a look and let us know if it satisfies your request!

marcodelapierre commented 4 years ago

Hi @Madeeks , thanks for this! I am having an issue when using the flag, I am going to open a separate issue.