GithubHelp home page GithubHelp logo

shub://* urls do not work about sregistry HOT 11 OPEN

karcaw avatar karcaw commented on August 17, 2024
shub://* urls do not work

from sregistry.

Comments (11)

karcaw avatar karcaw commented on August 17, 2024

I am going to attempt to roll forward the version to 2.0.0 of quay.io/vanessa/sregistry to see if it is just a version issue.

from sregistry.

vsoch avatar vsoch commented on August 17, 2024

I think you probably want to use library:// - shub:// was mostly for Singularity Hub. I also am not developing for apptainer in mind (I am for SingularityCE) so I don't know what changes they have made, they likely no longer support shub.

from sregistry.

karcaw avatar karcaw commented on August 17, 2024

The library:// does work for pulls, but I am tryng to find a way to run a container without messing with a users environment, and the apptainer run command does not support it.

does the $ singularity pull shub://containers.page/collection/container:tag command on https://singularityhub.github.io/sregistry/docs/client work on your current version?

from sregistry.

vsoch avatar vsoch commented on August 17, 2024

shub:// was added at the early onset of development, and was intended for Singularity Hub. I also originally added support for Singularity Registry, but ultimately deprecated it in favor of the library API, which we created a community standard for. It likely hasn't been used (or tested) and should be removed, but most people use the library:// endpoint so it wasn't looked into.

The library:// does work for pulls, but I am tryng to find a way to run a container without messing with a users environment, and the apptainer run command does not support it.

Can you give me more detail on that? Perhaps you can pull the SIF and run the binary separately, and specifically what user environment mucking are you worried about / need to do?

from sregistry.

karcaw avatar karcaw commented on August 17, 2024

I am looking at deploying user runnable singularity containers for the OpenOndemand system for our clusters. I can easily set up a remote for my userid, but i need to write scripts for any user of the system to run a container, and so it would be nice to just run a remote container(that could be cached), without changing the users remote list. I can just pull, then run, delete... but i was looking for a one step command that would just work.

If you are not supporting the shub command, probably should take it out of the documentation online so others dont think it will work. If it works with SingularitCE, maybe its ok to leave it. with it in there it seems like it should work.

from sregistry.

vsoch avatar vsoch commented on August 17, 2024

I would hugely discourage an approach that requires a re-pull - that's going to tax the registry / networking quite a bit. And the cache just is saving to the user's home (or your custom Singularity cache) so is there any reason you can't prepare a custom shared cache and have people use it? Another approach that I'll suggest (and disclaimer I am the developer) is singularity-hpc, which allows you to install containers as modules - meaning your user would just load the module and use it. https://github.com/singularityhub/singularity-hpc

from sregistry.

karcaw avatar karcaw commented on August 17, 2024

I will look into singularity-hpc, but at the current time i am building a CI pipeline to build all our containers, and we were hoping to push them into the registry, and pull them directly from there. That process needs to happen, if we pull them into a common cache that is an option.

from sregistry.

vsoch avatar vsoch commented on August 17, 2024

All the containers in shpc (over 8k) are already pre built on BioContainers (sifs) or another actual registry.

Is there anything else you’d like help with or to chat about?

from sregistry.

karcaw avatar karcaw commented on August 17, 2024

Probably should address that the docs say that shub://* requests work, while they dont.. which was my original issue...

from sregistry.

karcaw avatar karcaw commented on August 17, 2024

also is there a better place to just chat about sregistry? slack, discord, etc?

from sregistry.

vsoch avatar vsoch commented on August 17, 2024

It’s an open source project that I accept contributions to, but don’t invest too much time in, so you are welcome to post a PR here for fixes and have discussion here. I am in a few community slacks if you want to chat but I think here is OK.

from sregistry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.