While trying to get face recognition with Compreface working together with a Nvidia graphics card I got the error:

Attempting to run nvidia-container-runtime returns nvidia-container-cli.ldconfig value "/usr/sbin/ldconfig" is not host-relative (does not start with a '@') error 

Easy solved by running the following command as root

nvidia-ctk config --in-place --set features.allow-ldconfig-from-container=true

The (very easy) solution wasn’t top ranked exactly so took a while to find so write it here so hopefully more people can find it.