compat32 libs do not work
as of driver nvcr.io/nvidia/driver:460.73.01-ubuntu20.04, compat32 option does not work as libs are all taken from ld.so.cache from the container. However, the container does not instruct linker to search also /usr/lib32, no 32bit libs are cached and thus not mounted to containers.
this is easy fix to add search for 32bit to the driver container: echo "/usr/lib32" > /etc/ld.so.conf.d/i386-linux-gnu.conf
one more thing remains. nvidia-installer does not provide libGL.so.1 for 32bit libs, so container-cli should link libGL.so.1 to libGLX_nvidia.so.
@xhejtman Thanks for figuring this out. I will work with internal teams to get this addressed.
Thanks. Btw, it would be great if you could support also display option, i.e., include nvidia_drv.so and libglx_nvidia.so, the former is not an easy one as it is ignored by linker.