User Tools

Site Tools


This is an old revision of the document!


This article describes the migration of OpenVZ containers to Linux containers (LXC). OpenVZ is not available for Kernels above 2.6.32, therefore a migration is necessary. Linux Container technology is available in all mainline Linux kernels and a future proof technology introduced in Proxmox VE 4.x series.

Move an OpenVZ container to LXC in 5 steps

General overview

Basically you have to follow these steps:

On the Proxmox VE 3.x node:

  1. note the network settings used by the container
  2. make a backup of the OpenVZ container

On the Proxmox VE 4.x node:

  1. create a LXC container based on the backup
  2. configure the network with the previous settings
  3. boot and voilà, it works

Note that all the steps mentioned here can be done with the Web GUI. However, it is easier to split the steps in command line actions. This allows to script the steps if there is a bigger number of containers to convert.

proxmox/convert_openvz_to_lxc.1447872850.txt.gz · Last modified: 2015/11/18 13:54 by cbustillo