Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Sarus support? #381

Open
marcodelapierre opened this issue Jun 3, 2021 · 5 comments
Open

Add Sarus support? #381

marcodelapierre opened this issue Jun 3, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@marcodelapierre
Copy link
Contributor

Sarus is the container HPC runtime developed at the Swiss Supercomputing Centre, CSCS: https://sarus.readthedocs.io/en/stable/

@vsoch vsoch added the enhancement New feature or request label Jun 3, 2021
@marcodelapierre
Copy link
Contributor Author

just a note, I think I will be able to help with testing for this one, I can get a Sarus deployment on a VM if needed.

@vsoch
Copy link
Member

vsoch commented Jun 11, 2021

Great! I've never used sarus before, but I'm planning on installing it on my local machine. Which (by the end of this project) will be chock full of different container technologies!

@vsoch
Copy link
Member

vsoch commented Jun 12, 2021

Note to link to issue - sarus does not currently support pulling a specific digest: eth-cscs/sarus#1. We can try pulling tags for now (and putting a warning) but hopefully this will be supported at some point!

@marcodelapierre
Copy link
Contributor Author

marcodelapierre commented Aug 11, 2021

Starting to document functionalities in Sarus, by memory of ~ 2 yo tests I ran,
and also using a bit of docos: https://sarus.readthedocs.io/en/stable/user/user_guide.html :

  • pull: sarus pull <repo>:<tag> (digests still not supported apparently)
  • execute: sarus run <repo>:<tag> <cmd>
  • shell: sarus run -t <repo>:<tag> <shell>
  • execute default command:sarus run <repo>:<tag> (OCI behaviour as Docker; entrypoint can be overridden with --entrypoint=<cmd>, and removed with --entrypoint "")
  • add variables in container: apparently N/A
  • default work directory: can be forced using -w <directory>
  • host directory mounts: can be set with syntax like --mount=type=bind,source=/path/to/my/data,destination=/data
  • GPU apps: work out of the box if Sarus is configured for that

@vsoch
Copy link
Member

vsoch commented Aug 11, 2021

Yeah the non pull of a digest was unfortunately my stopping point. Although to think of it now, we could probably try something similar to Podman with pulling and then tagging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants