Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 861 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 861 Bytes

Vulkan Container Runtime

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