create container with specific uid/gid offset and uid/gid shifting in lxc containers


Renowned Member
Mar 5, 2019
two questions:

1. how can i specify which uid/gid base is being used when creating a lxc container (i.e. for the uids/gids set when filesystem is extracted from template) ?

2. what is the recommended/supported way to shift uids/gids in proxmox lxc containers (i.e. their filesystems) ?

i try to install lxd-tools, which contain fuidshift utility, but there seem to be dependency problems

# apt install lxd-tools Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: lxc-pve : Conflicts: liblxc1 E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Last edited:


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!