How to convert a VM into LXC in Proxmox VE 6.0.2+?


New Member
Feb 28, 2021
  • PVE version: 6.2-4
  • Kernel version: 5.4.41-1
  • source VM: ubuntu1804-amd64
  • target LXC: ubuntu1804-amd64 in LXC format
I've used PVE for almost 2 years and I love it very much. Now I want to convert my VM created by PVE into LXC that can ran on PVE with full features like other LXC orginally created by PVE Web Interface.

I just wonder if that is a solution. Although I would like to use the converted LXC in console mode, its source system is VM with GUI. I don't know if that is compatiable.

Looking forward to find a way to get it done...

ps: I would prefer to manage my converted LXC by xterm.js :)


Proxmox Staff Member
Staff member
Aug 29, 2006
There is no one button migration, basically you have to:
  1. Create a new LXC container
  2. Copy all settings and data, eg. with rsync


The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!