lxd-p2c to proxmox : Converting to unprivileged container

balle

Member
Nov 6, 2021
5
0
6
54
I am trying to do a physical machine to container migration and bring it in to proxmox. I am unable to create a container created by lxd-p2c script. I assuming that this is because the container created by lxd-p2v is a privileged container and proxmox wants to create a unprivileged container

How do we convert and privileged container to unprivileged container


Error message output:
tar: ./usr: Cannot change ownership to uid 1000000, gid 1000000: Invalid argument
 
hi,

usually you can make a backup/restore and select privileged or unprivileged during restore.

i'm not sure how lxd-p2c integrates with our stack, but if you get a container rootfs tarball at the end, you should be able to give this as a template to PVE and choose unpriv/priv during creation.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!