apptainer oci kill

Kill a container (root user only)

Synopsis

Kill invoke kill operation to kill processes running within container identified by container ID.

apptainer oci kill [kill options...] <container_ID>

Examples

$ apptainer oci kill mycontainer INT
$ apptainer oci kill mycontainer -s INT

Options

-f, --force[=true|false]   kill container process with SIGKILL
-h, --help[=true|false]    help for kill
-s, --signal string        signal sent to the container (default "SIGTERM")
-t, --timeout uint32       timeout in second before killing container

SEE ALSO

Auto generated by spf13/cobra on 1-Dec-2026