Image size: 2.2 MB

For more on pulling from the registry, see the ilifu documentation.

First, once: add the registry and make it your default

singularity remote add --no-login idia-registry https://sregistry.idia.ac.za
singularity remote use idia-registry

If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.

Log in, for a private collection

singularity remote login idia-registry

Paste a token from your token page when asked. Public collections need no login.

Pull the container

singularity pull library://test/hello_world:latest

Shell into the container

singularity shell library://test/hello_world:latest

Run the container

singularity run library://test/hello_world:latest

First, once: add the registry and make it your default

apptainer remote add --no-login idia-registry https://sregistry.idia.ac.za
apptainer remote use idia-registry

If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.

Log in, for a private collection

apptainer remote login idia-registry

Paste a token from your token page when asked. Public collections need no login.

Pull the container

apptainer pull library://test/hello_world:latest

Shell into the container

apptainer shell library://test/hello_world:latest

Run the container

apptainer run library://test/hello_world:latest
A tiny test image that prints a greeting. Used to check the recipes workflow
builds, signs and pushes to the registry.
Bootstrap: docker
From: busybox:1.36

%help
    A tiny test image that prints a greeting. Used to check the recipes workflow
    builds, signs and pushes to the registry.

%labels
    Maintainer IDIA

%runscript
    echo "Hello, world from sregistry.idia.ac.za"
Download test-hello_world_latest.def
#!/bin/sh

    echo "Hello, world from sregistry.idia.ac.za"
# /.singularity.d/env/10-docker2singularity.sh
#!/bin/sh
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"