Skip to content

Error with singularity #139

@Alunethy

Description

@Alunethy

I installed singularity successfully but when I ran the test:
dynwrap::test_singularity_installation(detailed = TRUE)
I got:

✔ Singularity is installed

✔ Singularity is at correct version (>=3.0): 3.11.0+207-gfee9f0177 is installed

INFO:    Using cached SIF image
INFO:    Converting SIF file to temporary sandbox...
FATAL:   while preparing image: while handling /root/.singularity/cache/oci-tmp/sha256.8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10: while extracting image: root filesystem extraction failed: extract command failed: ERROR  : Failed to create user namespace: user namespace requires to set /proc/sys/kernel/unprivileged_userns_clone to 1
: exit status 1
Error in dynwrap::test_singularity_installation(detailed = TRUE): ❌ Singularity is unable to run pull and run a container from Dockerhub.
Traceback:
1. dynwrap::test_singularity_installation(detailed = TRUE)
2. stop(crayon::red("❌ Singularity is unable to run pull and run a container from Dockerhub."))

How can I resolve it? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions