Previous page

Next page

Locate page in Contents

Print this page

Starting, Stopping, and Querying Status of a Virtual Machine and Container

After a Parallels virtual machine and Container has been created, it can be managed like an ordinary computer.

Starting a Virtual Machine and Container

You can use the pctl start command to start your virtual machines and Containers:

  • To start Container 101:

    # pctl start 101

    Starting the Container ...

  • To start a virtual machine with the name of MyVM :

    # pctl start MyVM

    Starting the VM ...

Stopping a Virtual Machine and Container

The pctl stop command is used to stop your virtual machines and Containers:

  • To stop Container 101:

    # pctl stop 101

    Stopping the Container ...

  • To stop a virtual machine with the name of MyVM :

    # pctl stop MyVM

    Stopping the VM ...

Checking the Status of a Virtual Machine and Container

Depending on whether you want to check the status of a Container or a virtual machine, you can use the following commands:

  • pctl status to check the Container status:

    # pctl status 101

    VEID 101 exist mounted running

  • pctl list to check the virtual machine status:

    # pctl list MyVM

    stopped 10.12.12.121 MyVM

    You can also get more detailed information on a virtual machine by specifying the -i option after pctl list .

Restarting a Virtual Machine and Container

Sometimes, you may need to restart a virtual machine and Container. To do this, use the following commands:

  • To restart a Container, use the pctl restart command:

    # pctl restart 101

    Stopping Container ...

    Container was stopped

    Container is unmounted

    Starting Container ...

    Container is mounted

    Adding IP address(es): 10.0.186.101

    Container start in progress...

  • To restart a virtual machine, use the pctl reset command:

    # pctl reset MyVM