carta
singularity-instance-stop(1)

singularity-instance-stop1

Stop a named instance of a given container image

Usage

apptainer instance stop [stop options ...] [instance]

Overview

The command apptainer instance stop allows you to stop and clean up a named,
running instance of a given container image.

Options

-a, --all[=false]
stop all user's instances

-F, --force[=false]
force kill instance

-h, --help[=false]
help for stop

-s, --signal=""
signal sent to the instance

-t, --timeout=10
force kill non stopped instances after X seconds

-u, --user=""
if running as root, stop instances belonging to user

Examples

  $ apptainer instance start my-sql.sif mysql1
  $ apptainer instance start my-sql.sif mysql2
  $ apptainer instance stop mysql*
  Stopping mysql1 instance of my-sql.sif (PID=23845)
  Stopping mysql2 instance of my-sql.sif (PID=23858)
  $ apptainer instance start my-sql.sif mysql1
  Force instance to shutdown
  $ apptainer instance stop -f mysql1 (may corrupt data)
  Send SIGTERM to the instance
  $ apptainer instance stop -s SIGTERM mysql1
  $ apptainer instance stop -s TERM mysql1
  $ apptainer instance stop -s 15 mysql1

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.