LXC IDMap Generator

This tool allows to easily generate a configuration for mapping uid and guid's for an unpriviliged Proxmox LXC.
This is sometimes required to fix permission issues when files/folders are mounted within an LXC.
For more info see: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers

This allows for example to bind UID 1005 both inside of the container to the same UID uotside of the container.

Usage:
containeruid[:containergid][=hostuid[:hostgid]]
Container uid and optional gid to map to host. If a gid is not specified, the uid will be used



Generated Output: