-
Notifications
You must be signed in to change notification settings - Fork 100
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
Improve documentation for pulling and pushing to oras repositories #208
Comments
Hello, this would be appropriate for the docs repository https://github.com/sylabs/singularity-userdocs I will transfer the issue there.
This is actually not correct. Authentication to OCI registries (which are the targets of oras) can be handled through
I agree there is much room for improvement in the documentation here though. We would also gladly accept any contributions. |
Ok in that case I misunderstood your comment here: apptainer/singularity-userdocs#308 (comment):
I now see that the singularity help for
But So unfortunately I don't feel equipped to contribute a documentation PR because I couldn't figure out how to get it working! |
@myoung3 - the comment was accurate at the time it was posted. The ability to use To login to an oci registry use a See the examples at: https://sylabs.io/guides/3.7/user-guide/endpoint.html?highlight=oras#managing-oci-registries (there are also links there to how to auth via env var) The This confusion stems from it all being written when we did not support oras, and only the Sylabs Cloud / Enterprise were supported. I'm afraid other functionality hasn't always been bolted on in the most clear manner. Sylabs is intending to restructure the handling of auth / remotes in SingularityCE 4.0 to make it much clearer. Unfortunately this will require breaking changes to the CLI, so it hasn't been tackled yet in the 3.x releases. |
Thanks, that all makes sense. In that case I think it would be helpful to clarify the help files for Currently
and
https://sylabs.io/guides/3.8/user-guide/cli/singularity_remote_login.html I found this confusing because only the documentation for |
In 4.0.0, OCI registry related auth has been split out of the |
I was curious about using azure container registry for a project and tried to use, it but unfortunately the singularity documentation for authenticating with an oras repository is lacking. azure docs for pushing and pulling with singularity are similarly absent.
In particular, several areas for improvement:
singularity remote
to store azure keys? (I now know the answer to this is no--singularity remote
is only for sylabs cloud, but I only found this through stumbling on another issue either here or in the original singularity github page). This should be clarified in thesingularity remote
help page.singularity remote
is not the correct way to authenticate for an oras repo (and azure specifically), how can I authenticatesingularity push
andsingularity pull
/singularity build
? Do I need to install oras separately? If so, that should be spelled out.https://azure.microsoft.com/en-us/blog/azure-container-registry-now-supports-singularity-image-format-containers/
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-image-formats
https://sylabs.io/guides/3.7/user-guide/cli/singularity_pull.html?highlight=oras
https://sylabs.io/guides/3.7/user-guide/cli/singularity_push.html?highlight=oras
The text was updated successfully, but these errors were encountered: