Comment on Proxmox bind mounts is a nightmare for user permissions
revv@lemmy.blahaj.zone 5 months ago
I’m not a docker expert- i tend to just run everything in an LXC. But, doesn’t docker typically run as root? It might be that you gave your lxc user UID proper permissions, but not the lxc root UID.
Alternatively, you are aware that LXC UID 1000 != Host UID 1000, yes?
FWIW, permissions in proxmox/LXC are really clear and predictable… once you understand the way the map in the config files.
scrubbles@poptalk.scrubbles.tech 5 months ago
the default is root, but most containers will specify a UID/GID to run under. That makes it even harder with docker on lxc on proxmox.
ama_coffee_addict@lemmy.world 5 months ago
This is the case with bookstack image. I specify the uid and gid as environment variables and it is expected that the ids remain compatible with the lxc and the host. But I am having trouble writing to the mount even from the lxc with the uid 1000 which is mapped to 101000 on the host.