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/lxc-scripts-280/wrapper-scripts-for-lxc-unprivileged-containers-258.html.
Name Last modified Size Description
Parent Directory - my_lxc-autostart 2024-08-06 10:05 184 Changelog 2024-08-06 10:05 274 lxr 2024-08-06 10:05 356 README.md 2024-08-06 10:05 488 cgroupctl 2024-08-06 10:05 519 lxo 2024-08-06 10:05 539 lxi 2024-08-06 10:05 542 my_minimal.template 2024-08-06 10:05 825 lxd 2024-08-06 10:05 1.0K lxc-common.conf 2024-08-06 10:05 1.1K lxe 2024-08-06 10:05 1.1K rc.firewall-nat 2024-08-06 10:05 1.1K lxa 2024-08-06 10:05 1.3K 13.37.template 2024-09-23 19:24 1.4K rc.cgconfig.patch 2024-08-06 10:05 1.4K patch my_lxc-freeze 2024-08-06 10:05 1.4K lxcctl 2024-08-06 10:05 1.4K 15.0.template 2024-08-06 10:05 1.4K my_lxc-unfreeze 2024-08-06 10:05 1.4K my_lxc-common 2024-08-06 10:05 1.5K current.template 2024-08-16 11:12 1.5K lxl 2024-08-06 10:05 1.6K rc.lxc-bridge 2024-08-06 10:05 1.7K my_lxc-container-userns-convert 2024-08-06 10:05 2.1K lxu 2024-08-06 10:07 2.2K my_lxc-destroy 2024-08-06 10:05 4.1K uidmapshift.c 2024-08-06 10:05 4.5K my_lxc-copy 2024-08-06 10:05 4.9K my_lxc-create 2024-08-06 10:05 4.9K lxc-template.diff 2024-08-06 10:05 5.0K patch my_lxc-turn_into_unprivileged 2024-08-06 10:08 5.2K convert-vserver.sh 2024-08-06 10:05 7.7K shell script lxc-scripts.tar.gz 2024-08-06 11:51 9.4K GZIP compressed lxc-my_template 2024-08-06 10:05 12K LICENSE 2024-08-06 10:05 34K