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

RolandK

Renowned Member
Mar 5, 2019
970
198
88
51
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: