Handling unprivileged containers is not possible with default LXC programs, because they must be called by the user who owns them. This is my collection of wrapper scripts that I use both for privileged and unprivileged containers. In the latter case the owner will be dinamically retrieved.
More info at https://notes.sagredo.eu/other-contents-186/lxc-scripts-for-unprivileged-containers-258.html.
Name Last modified Size Description
Parent Directory -
15.0.template 2022-04-14 15:59 1.9K
convert-vserver.sh 2022-04-12 18:17 7.7K shell script
lxa 2022-04-18 11:13 524
lxc-common.conf 2022-04-14 14:44 1.0K
lxc-roberto 2022-04-24 20:45 11K
lxcctl 2022-04-18 11:13 1.8K
lxd 2022-04-18 11:13 763
lxl 2022-04-18 11:13 1.7K
lxr 2022-04-18 11:13 261
lxu 2022-04-18 11:13 847
minimal.template 2022-04-14 15:56 750
my_lxc-autostart 2022-04-18 18:35 197
my_lxc-common 2022-04-18 18:35 653
my_lxc-container-userns-convert 2022-04-18 18:35 1.8K
my_lxc-copy 2022-04-18 18:35 2.3K
my_lxc-create 2022-04-18 18:35 1.6K
my_lxc-destroy 2022-04-28 22:59 3.6K
my_lxc-turn_into_unprivileged 2022-04-18 18:35 3.6K
rc.cgconfig.patch 2022-04-12 19:22 1.4K patch
uidmapshift.c 2022-04-12 18:17 4.5K