How to get vulkan working on a ubuntu20.04 docker container


Can anyone point me in the right direction on how I would run a Vulkan application inside a docker container?

I am using nvidia/cuda:11.6.–base-ubuntu20.04 as base image but I am not able to get Vulkan working, I got the following error:

vulkan@dolores:/# vulkaninfo
Segmentation fault (core dumped)

thanks in advance,