From 3570ebb5c2a692e293a8409e6317942d01c84e20 Mon Sep 17 00:00:00 2001 From: <> Date: Wed, 22 May 2024 23:50:06 +0000 Subject: [PATCH] Deployed efb5e798 with MkDocs version: 1.6.0 --- images/docker-baseimage-kasmvnc/index.html | 20 ++++++++++++++++---- search/search_index.json | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/images/docker-baseimage-kasmvnc/index.html b/images/docker-baseimage-kasmvnc/index.html index 5ed05ff671..3a66054ed2 100644 --- a/images/docker-baseimage-kasmvnc/index.html +++ b/images/docker-baseimage-kasmvnc/index.html @@ -28,7 +28,19 @@ └── root └── defaults └── startwm.sh -
If included in the build logic it will be launched in place of Openbox. Examples for this kind of configuration can be found in our Webtop repository
Included in these base images are binary blobs /kasmbins
and a special init process /kasminit
to maintain compatibility with Kasm Workspaces, If using this base image as reccomended with the startwm.sh
or autostart
entrypoints. They will be able to be used on that platform without issue.
These base images include an installation of Docker that can be used in two ways. The simple method is simply leveraging the Docker/Docker Compose cli bins to manage the host level Docker installation by mounting in -v /var/run/docker.sock:/var/run/docker.sock
.
The base images can also run an isolated in container DinD setup simply by passing --privileged
to the container when launching. If for any reason the application needs privilege but Docker is not wanted the -e START_DOCKER=false
can be set at runtime or in the Dockerfile. In container Docker (DinD) will most likely use the fuse-overlayfs driver for storage which is not as fast as native overlay2. To increase perormance the /var/lib/docker/
directory in the container can be mounted out to a Linux host and will use overlay2. Keep in mind Docker runs as root and the contents of this directory will not respect the PUID/PGID environment variables available on all LinuxServer.io containers.
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
--device /dev/dri:/dev/dri
This feature only supports Open Source GPU drivers:
Driver | Description |
---|---|
Intel | i965 and i915 drivers for Intel iGPU chipsets |
AMD | AMDGPU, Radeon, and ATI drivers for AMD dedicated or APU chipsets |
NVIDIA | nouveau2 drivers only, closed source NVIDIA drivers lack DRI3 support |
The DRINODE
environment variable can be used to point to a specific GPU. Up to date information can be found here
When using this image in tandem with a supported video card, compositing will function albeit with a performance hit when syncing the frames with pixmaps for the applications using it. This can greatly increase app compatibility if the application in question requires compositing, but requires a real GPU to be mounted into the container. By default we disable compositing at a DE level for performance reasons on our downstream images, but it can be enabled by the user and programs using compositing will still function even if the DE has it disabled in its settings. When building desktop images be sure you understand that with it enabled by default only users that have a compatible GPU mounted in will be able to use your image.
These images support all the native KasmVNC encoding methods including a true 24 bit RGB lossless mode using the Quite OK Image Format. This mode will use all the bandwidth you give it so just keep that in mind for remote sessions. This mode also might require special configuration depending on how you are accessing the container. Lossless will only work over http (default port 3000) on localhost, when accessing remotely or even over a local network you need to use https (default port 3001) to support SharedArrayBuffer. This is needed to leverage a fast memory pipeline in the browser during the threaded WebAssembly based decoding. This can be enabled in the sidebar under settings>stream quality>lossless.
If putting this container behind a proxy of some kind some headers will need to be set to again support SharedArrayBuffers here is a default NGINX configuration format:
add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
-add_header 'Cross-Origin-Opener-Policy' 'same-origin';
-add_header 'Cross-Origin-Resource-Policy' 'same-site';
-
More information here
The following line is only in this repo for loop testing: - { date: "01.01.50:", desc: "I am the release message for this internal repo." }