langmead-lab / monorail-external

examples to run monorail externally
MIT License
13 stars 5 forks source link

singularity pull docker not working #28

Closed pabloacera closed 5 months ago

pabloacera commented 5 months ago

Hi, any idea why?

sudo singularity pull docker://quay.io/broadsword/recount-unify:1.1.1
[sudo] password for paceramateos:
Sorry, try again.
[sudo] password for paceramateos:
INFO:    Converting OCI blobs to SIF format
INFO:    Starting build...
INFO:    Fetching OCI image...
9.3MiB / 9.3MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
1.1MiB / 1.1MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
2.2MiB / 2.2MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
3.1MiB / 3.1MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
2.2MiB / 2.2MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
75.5KiB / 75.5KiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
99.4MiB / 99.4MiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
39.8MiB / 39.8MiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
990.0KiB / 990.0KiB [===============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
75.5KiB / 75.5KiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
165.3MiB / 165.3MiB [===============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
40.0MiB / 40.0MiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
574.9KiB / 574.9KiB [===============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
2.2MiB / 2.2MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
3.7MiB / 3.7MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
254.5MiB / 254.5MiB [===============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
1007.5KiB / 1007.5KiB [=============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
711.8KiB / 711.8KiB [===============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
165.9MiB / 165.9MiB [===============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
1.0MiB / 1.0MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
30.8MiB / 30.8MiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
350.3MiB / 350.3MiB [===============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
43.2MiB / 43.2MiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
33.6MiB / 33.6MiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
888.7KiB / 888.7KiB [===============================================================================================================================================================================================================] 100 % 0.0 b/s 0s
66.3KiB / 66.3KiB [=================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
1.3MiB / 1.3MiB [===================================================================================================================================================================================================================] 100 % 0.0 b/s 0s
INFO:    Extracting OCI image...
FATAL:   While making image from oci registry: error fetching image to cache: while building SIF from layers: packer failed to pack: while unpacking tmpfs: error unpacking rootfs: unpack entry: opt/conda/pkgs/certifi-2018.11.29-py37_0/lib/python3.7/site-packages/certifi/__init__.py: link: no such file or directory

singularity --version
singularity-ce version 4.1.0-rc.1+4-g69b6809e8
ChristopherWilks commented 5 months ago

Hi @pabloacera,

I haven't downloaded images via singularity in a while, however, when I just tried with singularity 4.0.3 the recount-unify:1.1.1 sif file was created without issue using the same command as you (sans the sudo).

When I have some additional time I'll try with 4.1.0-rc.1 and see if it's a version specific issue. At the same time, if you have access to a slightly older singularity installation I'd suggest trying that.

Chris

pabloacera commented 5 months ago

Hi @ChristopherWilks,

Thanks, I downgraded the singularity to 4.0.3 and it works now. Cheers