Article ID: 118004, created on Oct 17, 2013, last review on May 11, 2014

  • Applies to:
  • Virtuozzo containers for Windows

Symptoms

Container cannot be started with the following error:

C:\>vzctl start 24820
Starting container ...
ERROR:Cannot get OS template for container 24820
ERROR:Cannot get OS template for container 24820
Cannot mount disk for container 24820

The following command gives nothing in the output:

C:\>vzcfgt get 24820 Template

Cause

The OS template for the container is not set correctly.

Resolution

1) Find the exact name of the OS template currently deployed on the node:

C:\>vzpkgls -o -d
windows_2008r2_dc_sp1-6.1.7601 20110211

2) Set the OS template for the container:

C:\>vzcfgt set 24820 Template "windows_2008r2_dc_sp1-6.1.7601/20110211"

4) After that you should be able to start the container:

C:\>vzctl start 24820
Starting container ...
Container is mounted
Container was started

Search Words

OS template

ERROR:Cannot get OS template for container

cannot start

Cannot get OS template for container

d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223 965b49118115a610e93635d21c5694a8

Email subscription for changes to this article
Save as PDF