apptainer oci create

Create a container from a bundle directory (root user only)

Synopsis

Create invoke create operation to create a container instance from an OCI bundle directory

apptainer oci create -b <bundle_path> [create options...] <container_ID>

Examples

$ apptainer oci create -b ~/bundle mycontainer

Options

-b, --bundle string        specify the OCI bundle path (required)
    --empty-process        run container without executing container process (eg: for POD container)
-h, --help                 help for create
    --log-format string    specify the log file format. Available formats are basic, kubernetes and json (default "kubernetes")
-l, --log-path string      specify the log file path
    --pid-file string      specify the pid file
-s, --sync-socket string   specify the path to unix socket for state synchronization

SEE ALSO

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