Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/j3soon/docker-vulkan-runtime

Unofficial minimal dockerfile for vulkan runtime.
https://github.com/j3soon/docker-vulkan-runtime

docker docker-compose nvidia-container-toolkit nvidia-docker vulkan

Last synced: 17 days ago
JSON representation

Unofficial minimal dockerfile for vulkan runtime.

Awesome Lists containing this project

README

        

# Vulkan Container Runtime

[](https://hub.docker.com/r/j3soon/vulkan-runtime/tags)

Unofficial minimal dockerfile for vulkan runtime.

Prerequisites:
- [NVIDIA Driver](https://ubuntu.com/server/docs/nvidia-drivers-installation)
- [Docker](https://docs.docker.com/engine/install/ubuntu/)
- [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)

Build or pull image:

```sh
docker build . -t j3soon/vulkan-runtime
# or
docker pull j3soon/vulkan-runtime
```

Run:

```sh
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
```