Testing private image and pull from Docker for Singularity

by vs
GNU/Linux ◆ xterm-256color ◆ bash 2764 views

This repo: https://hub.docker.com/r/c1t4r/usecases/ is private, and so in order to use it I had to export my username and password to the environment

SINGULARITY_DOCKER_USERNAME='vanessa'
SINGULARITY_DOCKER_PASSWORD='secretpassword'

then we ran pull as follows

singularity run docker://c1t4r/usecases:JUSTUS_base

you could also put these variables before the command:

SINGULARITY_DOCKER_USERNAME='x' SINGULARITY_DOCKER_PASSWORD='y' singularity run docker://c1t4r/usecases:JUSTUS_base