Skip to content

Commit 501e844

Browse files
Bot Updating Templated Files
1 parent c942f4d commit 501e844

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.jenkins-external

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
9595
| `START_DOCKER` | If set to `false`, the privileged Docker-in-Docker setup will not start automatically. |
9696
| `DISABLE_IPV6` | Set to `true` to disable IPv6 support in the container. |
9797
| `LC_ALL` | Sets the container's locale, e.g., `fr_FR.UTF-8`. |
98+
| `DRINODE` | If mounting in /dev/dri for DRI3 GPU Acceleration allows you to specify the device to use IE `/dev/dri/renderD128` |
9899
| `NO_DECOR` | If set, applications will run without window borders, suitable for PWA usage. |
99100
| `NO_FULL` | If set, applications will not be automatically fullscreened. |
100101
| `DISABLE_ZINK` | If set, Zink-related environment variables will not be configured when a video card is detected. |
@@ -107,6 +108,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
107108
| :----: | --- |
108109
| `--privileged` | Starts a Docker-in-Docker (DinD) environment. For better performance, mount the Docker data directory from the host, e.g., `-v /path/to/docker-data:/var/lib/docker`. |
109110
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mounts the host's Docker socket to manage host containers from within this container. |
111+
| `--device /dev/dri:/dev/dri` | Mount a GPU into the container, this can be used in conjunction with the `DRINODE` environment variable to leverage a host video card for GPU accelerated applications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
110112

111113
### Language Support - Internationalization
112114

@@ -123,6 +125,24 @@ To launch the desktop session in a different language, set the `LC_ALL` environm
123125
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
124126
* `-e LC_ALL=it_IT.UTF-8` - Italian
125127

128+
### DRI3 GPU Acceleration
129+
130+
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
131+
132+
`--device /dev/dri:/dev/dri`
133+
134+
This feature only supports **Open Source** GPU drivers:
135+
136+
| Driver | Description |
137+
| :----: | --- |
138+
| Intel | i965 and i915 drivers for Intel iGPU chipsets |
139+
| AMD | AMDGPU, Radeon, and ATI drivers for AMD dedicated or APU chipsets |
140+
| NVIDIA | nouveau2 drivers only, closed source NVIDIA drivers lack DRI3 support |
141+
142+
The `DRINODE` environment variable can be used to point to a specific GPU.
143+
144+
DRI3 will work on aarch64 given the correct drivers are installed inside the container for your chipset.
145+
126146
### Nvidia GPU Support
127147

128148
**Note: Nvidia support is not available for Alpine-based images.**

0 commit comments

Comments
 (0)