Issues With Using Singularity In Order To Run Software "quested access to the resource is denied"
1
0
Entering edit mode
6 weeks ago
Indira • 0

I am trying to use Singularity for the first time however I came across an issue.

I am using the following command:

singularity build --remote my_sif.sif docker://containing_file/my_software:latest


However I get the following error/output:

INFO: Starting build...

Token stored in /filepath_remote.yaml INFO: Remote "cloud.sylabs.io" now in use. INFO: Starting build... FATAL:
While performing build: conveyor failed to get: reading manifest latest in docker.io/user/my_software : errors: denied: requested access to the resource is denied unauthorized: authentication required FATAL: While performing build: build image size <= 0

Does anyone know why this would occur?

Singularity • 518 views
1
Entering edit mode

What version of singularity are you using? Are you trying to build based on a docker image that requires authentication? Have you set up your authentication variables, e.g.:

export SINGULARITY_DOCKER_USERNAME=username


Try running your singularity command with --debug:

singularity build --remote my_sif.sif docker://containing_file/my_software:latest --debug

1
Entering edit mode
6 weeks ago
ATpoint 70k

Isn't build meant to build a new image based on a Singularity file? Here you are trying to convert an existing Docker image to SIF so that would simply be singularity pull docker://and_so_on.... That's at least how I do it.

0
Entering edit mode

Thank you I realized that the mistake I made was by not making a docker image.

0
Entering edit mode

Did pull work or do you need more help?