kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
c74b548e14
commit
fc20845a19
|
@ -78,12 +78,43 @@ To install cjk fonts on startup as an example pass the environment variables:
|
||||||
|
|
||||||
```
|
```
|
||||||
-e DOCKER_MODS=linuxserver/mods:universal-package-install
|
-e DOCKER_MODS=linuxserver/mods:universal-package-install
|
||||||
-e INSTALL_PACKAGES=font-noto-cjk
|
-e INSTALL_PACKAGES=fonts-noto-cjk
|
||||||
-e LC_ALL=zh_CN.UTF-8
|
-e LC_ALL=zh_CN.UTF-8
|
||||||
```
|
```
|
||||||
|
|
||||||
The web interface has the option for "IME Input Mode" in Settings which will allow non english characters to be used from a non en_US keyboard on the client. Once enabled it will perform the same as a local Linux installation set to your locale.
|
The web interface has the option for "IME Input Mode" in Settings which will allow non english characters to be used from a non en_US keyboard on the client. Once enabled it will perform the same as a local Linux installation set to your locale.
|
||||||
|
|
||||||
|
### Nvidia GPU Support
|
||||||
|
|
||||||
|
Nvidia support is available by leveraging Zink for OpenGL support. This can be enabled with the following run flags:
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
| :----: | --- |
|
||||||
|
| --gpus all | This can be filtered down but for most setups this will pass the one Nvidia GPU on the system |
|
||||||
|
| --runtime nvidia | Specify the Nvidia runtime which mounts drivers and tools in from the host |
|
||||||
|
|
||||||
|
The compose syntax is slightly different for this as you will need to set nvidia as the default runtime:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo nvidia-ctk runtime configure --runtime=docker --set-as-default
|
||||||
|
sudo service docker restart
|
||||||
|
```
|
||||||
|
|
||||||
|
And to assign the GPU in compose:
|
||||||
|
|
||||||
|
```
|
||||||
|
services:
|
||||||
|
firefox:
|
||||||
|
image: linuxserver/firefox:latest
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
count: 1
|
||||||
|
capabilities: [compute,video,graphics,utility]
|
||||||
|
```
|
||||||
|
|
||||||
### Lossless mode
|
### Lossless mode
|
||||||
|
|
||||||
This container is capable of delivering a true lossless image at a high framerate to your web browser by changing the Stream Quality preset to "Lossless", more information [here](https://www.kasmweb.com/docs/latest/how_to/lossless.html#technical-background). In order to use this mode from a non localhost endpoint the HTTPS port on 3001 needs to be used. If using a reverse proxy to port 3000 specific headers will need to be set as outlined [here](https://github.com/linuxserver/docker-baseimage-kasmvnc#lossless).
|
This container is capable of delivering a true lossless image at a high framerate to your web browser by changing the Stream Quality preset to "Lossless", more information [here](https://www.kasmweb.com/docs/latest/how_to/lossless.html#technical-background). In order to use this mode from a non localhost endpoint the HTTPS port on 3001 needs to be used. If using a reverse proxy to port 3000 specific headers will need to be set as outlined [here](https://github.com/linuxserver/docker-baseimage-kasmvnc#lossless).
|
||||||
|
@ -330,6 +361,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **25.09.24:** - Rebase to Ubuntu Noble.
|
||||||
* **23.05.24:** - Rebase to Alpine 3.20.
|
* **23.05.24:** - Rebase to Alpine 3.20.
|
||||||
* **13.02.24:** - Add ability to pass CLI args to Firefox.
|
* **13.02.24:** - Add ability to pass CLI args to Firefox.
|
||||||
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
|
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
|
||||||
|
|
Ładowanie…
Reference in New Issue