singularity data package

Package a file or directory into a data container

Synopsis

The data package command creates an OCI-SIF data container, which packages a file or directory into a convenient format that can be distributed alongside application container images, and mounted into a container at runtime.

singularity data package <source file/dir> <data container>

Examples

To create a data container that packages the contents of mydir:
$ singularity data package mydir data.oci.sif

To create a data container that package a single file:
$ singularity data package mydir/myfile data.oci.sif

Options

-h, --help   help for package

SEE ALSO

Auto generated by spf13/cobra on 4-Sep-2024