1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/virt-listing-vmis-cli.adoc
2025-05-21 19:10:20 +02:00

25 lines
655 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
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
----