This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.6.2. Virtctl client commands
The virtctl client is a command-line utility for managing OpenShift Virtualization resources. The following table contains the virtctl commands used throughout the OpenShift Virtualization documentation.
To view a list of options that you can use with a command, run it with the -h or --help flag. For example:
virtctl image-upload -h
$ virtctl image-upload -h
| Command | Description |
|---|---|
|
| Start a virtual machine. |
|
| Stop a virtual machine. |
|
| Pause a virtual machine or virtual machine instance. The machine state is kept in memory. |
|
| Unpause a virtual machine or virtual machine instance. |
|
| Migrate a virtual machine. |
|
| Restart a virtual machine. |
|
| Create a service that forwards a designated port of a virtual machine or virtual machine instance and expose the service on the specified port of the node. |
|
| Connect to a serial console of a virtual machine instance. |
|
| Open a VNC connection to a virtual machine instance. |
|
| Upload a virtual machine image to a DataVolume that already exists. |
|
| Upload a virtual machine image to a new DataVolume. |
|
| Display the client and server version information. |
|
|
Display a descriptive list of |