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