Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j3soon/vulkan-container-runtime
Unofficial minimal dockerfile for vulkan runtime.
https://github.com/j3soon/vulkan-container-runtime
docker docker-compose nvidia-container-toolkit nvidia-docker vulkan
Last synced: 2 months ago
JSON representation
Unofficial minimal dockerfile for vulkan runtime.
- Host: GitHub
- URL: https://github.com/j3soon/vulkan-container-runtime
- Owner: j3soon
- Created: 2024-09-15T17:45:53.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T19:25:34.000Z (4 months ago)
- Last Synced: 2024-10-10T16:21:48.048Z (3 months ago)
- Topics: docker, docker-compose, nvidia-container-toolkit, nvidia-docker, vulkan
- Language: Dockerfile
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```