1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/virt-deleting-vmis-cli.adoc
2025-11-18 16:29:25 +01:00

26 lines
604 B
Plaintext

// Module included in the following assemblies:
//
// * virt/virtual_machines/virt-deleting-vmis-cli.adoc
:_mod-docs-content-type: PROCEDURE
[id="virt-deleting-vmis-cli_{context}"]
= Deleting a standalone virtual machine instance using the CLI
[role="_abstract"]
You can delete a standalone virtual machine instance (VMI) by using the `oc` command-line interface (CLI).
.Prerequisites
* Identify the name of the VMI that you want to delete.
* You have installed the {oc-first}.
.Procedure
* Delete the VMI by running the following command:
+
[source,terminal]
----
$ oc delete vmi <vmi_name>
----