Singularity
  • Initial page
  • Uploading a Singularity Container
  • Downloading a Singularity Container
Powered by GitBook
On this page
  • Initial setup
  • Uploading containers

Was this helpful?

Uploading a Singularity Container

PreviousInitial pageNextDownloading a Singularity Container

Last updated 4 years ago

Was this helpful?

Users will need to submit a request to have their containers added to the CCV Singularity Registry.

The following instructions are for CCV administrators.

Initial setup

Access to the registry is restricted to Brown networks and VPN. Before you can upload, you'll need to log into the web interface, create a collection, and copy your auth token.

Browse to https://shub.ccv.brown.edu, and click "Login" on the top menu.

Click "LOGIN WITH GITHUB" or "LOGIN WITH GOOGLE". You will need to accept the terms of service to continue.

Click "Containers" on the top menu.

Click the 'New Collection" button.

Enter the name of your new collection, then click the "Submit" button.

Click your account name on the top and select the Token sub-menu.

Copy the token, e.g. the string '353ad...' in the picture below.

Uploading containers

SCP the container to /data/uploads/. This step is not necessary if you are building from a recipe.

scp hello.sif shub.ccv.brown.edu:/data/uploads/

SSH into the server.

ssh shub.ccv.brown.edu

cd to the uploads directory and publish the image. Enter your username, collection, image name, tag, auth token (copied previously), and file path.

cd /data/uploads/
ccv-singularity-publish.sh <user> <collection> <image> <tag> <token> <file>