Issues With Using Singularity In Order To Run Software "quested access to the resource is denied"
1
0
Entering edit mode
20 months ago
Indira ▴ 10

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...

INFO: Setting maximum build duration to 1h0m0s INFO: Remote "cloud.sylabs.io" added. INFO: Access Token Verified! INFO:
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 • 1.7k views
ADD COMMENT
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
export SINGULARITY_DOCKER_PASSWORD=password

Try running your singularity command with --debug:

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

ADD REPLY
1
Entering edit mode
20 months ago
ATpoint 85k

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.

ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

Did pull work or do you need more help?

ADD REPLY

Login before adding your answer.

Traffic: 951 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6