Docker.sock permission Proxmox 9 (Debian Trixie)

The socket is owned by uid 0 and group id 997.

Gathering from the two listed processes, it looks like you are running two Portainer containers.

While this runs as uid 0, this one should have no issues:

This one runs as uid 100000 and is probably the one having the problem: