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 - 13.37.template 2024-09-23 19:24 1.4K 15.0.template 2024-08-06 10:05 1.4K Changelog.md 2024-08-06 10:05 274 LICENSE 2024-08-06 10:05 34K README.md 2024-08-06 10:05 488 cgroupctl 2022-03-21 17:55 519 convert-vserver.sh 2024-08-06 10:05 7.7K shell script current.template 2024-08-16 11:12 1.5K lxa 2023-03-16 18:09 1.3K lxc-common.conf 2024-08-06 10:05 1.1K lxc-my_template 2024-08-06 10:05 12K lxc-scripts.tar.gz 2025-01-13 20:32 10K GZIP compressed lxc-template.diff 2024-08-06 10:05 5.0K patch lxcctl 2025-01-13 20:24 2.1K lxd 2023-01-15 17:52 1.0K lxe 2023-01-15 18:48 1.1K lxi 2023-01-15 18:48 542 lxl 2025-01-06 17:49 1.6K lxo 2023-01-15 18:48 539 lxr 2022-12-29 17:23 356 lxu 2024-08-05 22:04 2.2K my_lxc-autostart 2022-12-29 21:57 184 my_lxc-common 2025-01-06 21:46 1.5K my_lxc-container-userns-convert 2022-12-23 09:24 2.1K my_lxc-copy 2024-10-27 18:31 4.9K my_lxc-create 2025-01-13 20:27 5.7K my_lxc-destroy 2023-03-05 17:39 4.1K my_lxc-freeze 2023-01-15 17:22 1.4K my_lxc-turn_into_unprivileged 2024-08-05 19:19 5.2K my_lxc-unfreeze 2023-01-15 17:24 1.4K my_minimal.template 2024-08-06 10:05 825 rc.cgconfig.patch 2024-08-06 10:05 1.4K patch rc.firewall-nat 2024-08-06 10:05 1.1K rc.lxc-bridge 2024-08-06 10:05 1.7K uidmapshift.c 2024-08-06 10:05 4.5K