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

Document & test use with singularity #159

Open
jwindhager opened this issue Jan 13, 2023 · 7 comments
Open

Document & test use with singularity #159

jwindhager opened this issue Jan 13, 2023 · 7 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@jwindhager
Copy link
Contributor

See #155

@jwindhager jwindhager added the documentation Improvements or additions to documentation label Jan 13, 2023
@jwindhager
Copy link
Contributor Author

Something like this should work starting from steinbock 0.16.0 (untested):

singularity run --bind /mnt/data/git/steinbock/data:/data --env RUN_FIXUID= docker://ghcr.io/bodenmillergroup/steinbock:0.16.0

This may also make running GUI applications such as napari much easier.

@Elena983
Copy link

Hi Jonas

I download the steinbock, but can’t run the commands
image

@jwindhager
Copy link
Contributor Author

jwindhager commented Jan 19, 2024

Hoi @Elena983,

I haven't tested using steinbock with Singularity myself, and steinbock is now in the hands of @Milad4849, but from your screenshot it appears that you'd need to adapt your steinbock command alias to use singularity instead of docker. You can check here how to use the singularity run command, and compare it with docker run.

@Elena983
Copy link

Thank you
I discovered that docker run -v equals to singularity run --bind
But it still gives an error
image

@jwindhager
Copy link
Contributor Author

Please compare your alias with #159 (comment), e.g. regarding the use of --env RUN_FIXUID= and docker://

@Elena983
Copy link

Yes, I run it.
Many thanks

@Elena983
Copy link

but now it didn't see the folders in it, but I double checked the path
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants