Closed gaow closed 1 year ago
I should mention that adding engine="singularity"
does not work:
[default]
bash: container="oras://ghcr.io/cumc/bioinfo", engine="singularity"
ls /opt/conda/env/
$ sos run test.sos
INFO: Running default:
ERROR: default (id=f8dad9c93b39a550) returns an error.
ERROR: [default]: [0]:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
script_5849982167480390329 in <module>
----> bash('ls /opt/conda/env/\n', container="oras://ghcr.io/cumc/bioinfo", engine="singularity")
ValueError: singularity engine only allows docker, file, library, and shub container oras specified
I should mention that adding engine="singularity" does not work:
So we should at least make the file format open. I think.
Please test if the orab
branch works.
Edit; the branch should have been named oras
, but it does not really matter.
Thank you @BoPeng , this script:
[default]
bash: container="oras://ghcr.io/cumc/bioinfo_apptainer:latest", engine="singularity"
ls /opt/conda/envs/
works perfectly. I think it is ready to merge to master
. Thank you!
Merged and released sos 0.24.3.
Currently we support automatically select container engine for the following: https://vatlab.github.io/sos-docs/doc/user_guide/h.html#Options-container-and-engine . It would be great if we can add more for
singularity
. According to:the one we need specifically now is
oras://
that we currently dont support.