mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
26 lines
674 B
Plaintext
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
|
|
----
|