Unofficial minimal dockerfile for vulkan runtime.
Prerequisites:
Build or pull image:
docker build . -t j3soon/vulkan-runtime
# or
docker pull j3soon/vulkan-runtime
Run:
xhost +local:docker
docker run --rm -it --gpus all --network=host \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.Xauthority:/home/user/.Xauthority \
j3soon/vulkan-runtime bash
# in the container
vkcube