Can’t remove an OpenVZ container? How to unmount OpenVZ container and remove it.

When you start using OpenVZ you will come to find that there are a lot of very useful command line tools…here’s a couple people commonly forget:
CID = Container ID
1 |
vzctl stop CID |
1 |
vzctl umount CID |
1 |
vzctl destroy CID |