-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
how to provide singularity images to any remote user #333
Comments
hey @atharvnagarikar sorry for missing this issue! If you are running the registry on your local machine, you're right - you can't really easily share images. The idea would be to deploy a registry on a server (cloud, some institution server that you have access to) where you can then expose the registry interface to the larger internet. Then users can also use the Singularity client to pull your images. Let me know if you have any more questions. If you haven't seen the documentation / client user pages, see https://singularityhub.github.io/sregistry/docs/client |
Can you please let me know how to launch the singularity registry server on the institution level or what procedure do I need to follow |
The documentation -> https://singularityhub.github.io/sregistry/#deploy-a-registry-server |
Or isn't it possible to pull or push an image using IP: port no. |
I don’t understand that question. The registry is a server that a singularity client can push to and pull from. |
For example, singularity server and multiple users are connected to the same network, then is it possible for any user either to pull or push any singularity image by using commands like ($ singularity push -U --library http://10.208.3.9:9080 busybox_latest.sif library://vsoch/dinosaur-collection/another:latest ) |
Yes, that’s the general idea. :) |
but I'm not able to do that |
You’d need to look at the error logs of the server, docker-compose logs uwsgi or docker-compose logs nginx. You probably want an actual domain name, and It’s hugely not recommended to deploy a server without https. |
Singularity also by default will not push to a non https registry. You’d have to recompile a special version to allow it. There should be a link in the client docs for the file to change to try it. |
ok, So if I want to make registry sever public within the network I have to provide domain name ? |
The domain name is recommended, and https is required so singularity can push. |
ok, thank you so much |
I have another doubt, how to push or pull the docker image to the registry server. I mean which command should I used to do so |
This registry is not compatible with Docker images. If you want dual compatibility you should use an OCI registry. |
ok thanks |
Hi, I installed the Singularity registry server and able to push singularity images to a local server using HTTP, But I don't understand how to share the stored image from the Singularity registry server to any remote user who is not connected to any this particular server
![err7](https://user-images.githubusercontent.com/66713062/103192534-0a346b80-48ff-11eb-9602-0f05e0f69239.PNG)
![err8](https://user-images.githubusercontent.com/66713062/103192537-0bfe2f00-48ff-11eb-8378-daffa34c2042.PNG)
The text was updated successfully, but these errors were encountered: