Remote Endpoints


Sylabs introduced the online Sylabs Cloud to enable users to Create, Secure, and Share their container images with others.

The remote command group in Singularity allows you to login to an account on the public Sylabs Cloud, or configure Singularity to point to a local installation of Singularity Enterprise, which provides an on-premise private Container Library, Remote Builder and Key Store.

Users can setup and switch between multiple remote endpoints, which are stored in their ~/.singularity/remote.yaml file. Alternatively, remote endpoints can be set system-wide by an administrator.


The remote command group configures Singularity to use and authenticate to the public Sylabs Cloud, a private installation of Singularity Enterprise, or community-developed services that are API compatible.

The remote command group cannot be used to e.g. configure singularity to store credentials for access to a docker registry. See the Support for Docker and OCI guide for information about authenticating to various docker registries.

Public Sylabs Cloud

A fresh, default installation of Singularity is configured to connect to the public services. If you only want to use the public services you just need to obtain an authentication token, and then singularity remote login:

  1. Go to:

  2. Click “Sign in to Sylabs” and follow the sign in steps.

  3. Click on your login id (same and updated button as the Sign in one).

  4. Select “Access Tokens” from the drop down menu.

  5. Enter a name for your new access token, such as “test token”

  6. Click the “Create a New Access Token” button.

  7. Click “Copy token to Clipboard” from the “New API Token” page.

  8. Run singularity remote login and paste the access token at the prompt.

Once your token is stored, you can check that you are able to connect to the services with the status subcommand:

$ singularity remote status
INFO:    Checking status of default remote.
Builder Service   OK      v1.1.4-0-g3ef2555
Consent Service   OK      v1.0.2-0-g2a24b4a
Keystore Service  OK      v1.9.0-0-g112eb0e-dirty
Library Service   OK      v1.0.4-0-g24d3b74
Token Service     OK      v1.0.2-0-g2a24b4a

If you see any errors you may need to check if your system requires proxy environment variables to be set, or if a firewall is blocking access to * Talk to your system adminitrator.

You can interact with the public Sylabs Cloud using various Singularity commands:

pull, push, build –remote, key, search, verify, exec, shell, run, instance


Using docker://, oras:// and shub:// URIs with these commands does not interact with the Sylabs Cloud.

Managing Remote Endpoints

Generally, users and administrators should manage remote endpoints using the singularity remote command, and avoid editing remote.yaml configuration files directly.

List and Login to Remotes

To list existing remote endpoints, run this:

$ singularity remote list

NAME           URI              GLOBAL
[SylabsCloud]  YES

The [...] brackets around the name SylabsCloud show that this is the current default remote endpoint.

To login to a remote, for the first time or if your token expires or was revoked:

# Login to the default remote endpoint
$ singularity remote login

# Login to another remote endpoint
$ singularity remote login <remote_name>

# example...
$ singularity remote login SylabsCloud
singularity remote login SylabsCloud
INFO:    Authenticating with remote: SylabsCloud
Generate an API Key at, and paste here:
API Key:
INFO:    API Key Verified!

Add & Remove Remotes

To add a remote endpoint (for the current user only):

$ singularity remote add <remote_name> <remote_uri>

For example, if you have an installation of Singularity enterprise hosted at

$ singularity remote add myremote

INFO:    Remote "myremote" added.
INFO:    Authenticating with remote: myremote
Generate an API Key at, and paste here:
API Key:

You will be prompted to setup an API key as the remote is added. The web address needed to do this will always be given.

To add a global remote endpoint (available to all users on the system) an administrative user should run:

$ sudo singularity remote add --global <remote_name> <remote_uri>

# example..

$ sudo singularity remote add --global company-remote
[sudo] password for dave:
INFO:    Remote "company-remote" added.
INFO:    Global option detected. Will not automatically log into remote.


Global remote configurations can only be modified by the root user and are stored in the etc/singularity/remote.yaml file, at the Singularity installation location.

Conversely, to remove an endpoint:

$ singularity remote remove <remote_name>

Use the --global option as the root user to remove a global endpoint:

$ sudo singularity remote remove --global <remote_name>

Set the Default Remote

A remote endpoint can be set as the default to use with commands such as push, pull etc. via remote use:

$ singularity remote use <remote_name>

The default remote shows up in [...] square brackets in the output of remote list:

$ singularity remote list
NAME            URI                     GLOBAL
[SylabsCloud]         YES
company-remote  YES
myremote  NO

$ singularity remote use myremote
INFO:    Remote "myremote" now in use.

$ singularity remote list
NAME            URI                     GLOBAL
SylabsCloud         YES
company-remote  YES
[myremote]  NO

If you do not want to switch remote with remote use you can:

  • Make push and pull use an alternative library server with the --library option.

  • Make build --remote use an alternative remote builder with the --builder option.

  • Make keys use an alternative keyserver with the -url option.