Previous page

Next page

Locate page in Contents

Print this page

pctl delete and pctl destroy

These commands are used to delete a Container, which is no longer needed, from the server. The syntax of the commands is as follows:

pctl delete < CT_ID >

pctl destroy < CT_ID >

When executed, pctl delete /p ctl destroy physically removes all the files located in the Container private area (specified as the VE_PRIVATE variable in the Container configuration file) and renames the Container configuration file in /etc/vz/conf from < CT_ID >.conf to < CT_ID >.conf.destroyed . It also renames Container action scripts, if any, in a similar manner.

These commands do not take any additional arguments and requires the Container to be stopped and its private area to be dismounted.