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-listing-vmis-cli.adoc
2025-11-18 16:29:25 +01:00

26 lines
674 B
Plaintext

// Module included in the following assemblies:
//
// * virt/virtual_machines/virt-manage-vmis.adoc
// * virt/virtual_machines/virt-triggering-vm-failover-resolving-failed-node.adoc
:_mod-docs-content-type: PROCEDURE
[id="virt-listing-vmis-cli_{context}"]
= Listing all virtual machine instances using the CLI
[role="_abstract"]
You can list all virtual machine instances (VMIs) in your cluster, including standalone VMIs and those owned by virtual machines, by using the `oc` command-line interface (CLI).
.Prerequisites
* You have installed the {oc-first}.
.Procedure
* List all VMIs by running the following command:
+
[source,terminal]
----
$ oc get vmis -A
----