DOKK / manpages / debian 12 / runc / runc-delete.8.en
runc-delete(8) System Manager's Manual runc-delete(8)

runc-delete - delete any resources held by the container

runc delete [--force|-f] container-id

Forcibly delete the running container, using SIGKILL signal(7) to stop it first.

If the container id is ubuntu01 and runc list currently shows its status as stopped, the following will delete resources held for ubuntu01, removing it from the runc list:

# runc delete ubuntu01

runc-kill(8), runc(8).