Article ID: 6447, created on Jun 18, 2009, last review on Aug 13, 2015

  • Applies to:
  • Virtuozzo containers for Linux 4.7
  • Virtuozzo containers for Windows 4.6


You can use --bootorder option of the vzctl set command to configure the startup priority.

bootorder sets the start-up priority for Containers. The higher number is assigned to the Container, the earlier in the boot process this container starts.

To configure your Containers to start in this order, you should perform the following operations:

  1. Make sure that all four Containers are configured to automatically start on the physical server boot. If they are not, use this command to configure them. For example container #101:

    vzctl set 101 --onboot yes --save
  2. Set the necessary start order for containers.  

    • To set the highest priority for Container 102:

      vzctl set 102 --bootorder 10 --save
    • To make Container 104 start after:

      vzctl set 104 --bootorder 5  --save

From now on, the containers will start in the following order: Container 102 will start first because it has the highest priority. Container 104 will start second because its priority is lower than that of Container 102.

The containers which priority was not changed will start after all of the containers with bootorder enabled. The start order of Containers with equal(or unset) priority is determined by their IDs.

You can check the priority currently set for Containers by executing the following command:

vzlist -o ctid,bootorder 

To reset the priority of Container 102:

vzctl set 102 --bootorder 0 

Search Words

boot order virtuozzo ignored

container failed to start

d02f9caf3e11b191a38179103495106f 965b49118115a610e93635d21c5694a8 2897d76d56d2010f4e3a28f864d69223 e8e50b42231236b82df27684e7ec0beb 0c05f0c76fec3dd785e9feafce1099a9 6c20476fe6c3408461ce38cbcab6d03b

Email subscription for changes to this article
Save as PDF