skip to Main Content

I have built a Singularity sandbox container using this command:

sudo singularity build --sandbox ubuntu/ library://ubuntu

Now, I would like to copy/export this container as a sif file. But I cannot find how to do this in the documentation.

Any idea ?

2

Answers


  1. Chosen as BEST ANSWER

    Ok, so by reading the doc more carefully, it's apparently not possible to keep the changes made on a sandbox into a sif file, see here


  2. sudo singularity build ubuntu.sif ubuntu/
    INFO:    Starting build...
    INFO:    Creating SIF file...
    INFO:    Build complete: ubuntu.sif
    

    See https://docs.sylabs.io/guides/3.5/user-guide/build_a_container.html#converting-containers-from-one-format-to-another

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search