singularity-oci-run1
Create/start/attach/delete a container from a bundle directory (root user only)
Usage
apptainer oci
run
-b
[run
options ...]
Overview
Run will invoke equivalent of create/start/attach/delete commands in a row.
Options
-b, --bundle=""
specify the OCI bundle path (required)
-h, --help[=false]
help for run
--log-format="kubernetes"
specify the log file format. Available formats are basic, kubernetes and json
-l, --log-path=""
specify the log file path
--pid-file=""
specify the pid file
-s, --sync-socket=""
specify the path to unix socket for state synchronization
Examples
$ apptainer oci run -b ~/bundle mycontainer is equivalent to : $ apptainer oci create -b ~/bundle mycontainer $ apptainer oci start mycontainer $ apptainer oci attach mycontainer $ apptainer oci delete mycontainer