carta
singularity-oci-run(1)

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

History

22-Sep-2026 Auto generated by spf13/cobra

From apptainer 1.5.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.