Starting, Stopping, Restarting, and Querying Status of Virtual Machines and Containers
After a virtual machine or container has been created, it can be managed like a usual computer.
Starting Virtual Machines and Containers
You can start virtual machines and containers with the prlctl start command. For example:
To start the container
MyCT:1# prlctl start MyCTTo start the virtual machine
MyVM:1# prlctl start MyVM
Stopping Virtual Machines and Containers
You can stop virtual machines and containers with the prlctl stop command. For example:
To stop the container
MyCT:1# prlctl stop MyCTTo stop the virtual machine
MyVM:1# prlctl stop MyVM
Restarting Virtual Machines and Containers
You can restart virtual machines and containers with the prlctl restart command. For example:
To restart the container
MyCT:1# prlctl restart MyCTTo restart the virtual machine
MyVM:1# prlctl restart MyVM
Checking Status of Virtual Machines and Containers
You can check the status of a virtual machine or container with the prlctl status command. For example:
To check the status of the container
MyCT:1 2# prlctl status MyCT CT MyCT exists runningTo check the status of the virtual machine
MyVM:1 2# prlctl status MyVM Vm MyVM exists stopped