[pve-devel] [PATCH container 0/2] oci create: honor `User` from OCI image config
Filip Schauer
f.schauer at proxmox.com
Mon Dec 15 18:41:57 CET 2025
Honor a custom user and group specified for the entrypoint via the OCI
image config `User` field instead of ignoring it.
This requires the following patch for LXC in order to work properly:
https://github.com/lxc/lxc/pull/4626
With these patches applied, docker.io/weblate/weblate starts with the
correct uid and groups instead of the default uid=0(root) gid=0(root)
groups=0(root).
Filip Schauer (2):
config: add `lxc.init.uid`/`gid`/`groups` keys
oci create: honor User from OCI image config
src/PVE/LXC/Config.pm | 3 +++
src/PVE/LXC/Create.pm | 59 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
--
2.47.3
More information about the pve-devel
mailing list