I ran the sysctl command on the Proxmox host node:
sysctl -w vm.max_map_count=262144
All my containers then also had this setting (Don't remember if I had to restart container or not).
To survive a reboot, one also needs to change the setting in /etc/sysctl.conf, just append...