Skip to content

Commit 0fa96ac

Browse files
Bot Updating Documentation
1 parent 6fbf11b commit 0fa96ac

File tree

1 file changed

+83
-60
lines changed

1 file changed

+83
-60
lines changed

docs/images/docker-yaak.md

Lines changed: 83 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -38,63 +38,75 @@ The architectures supported by this image are:
3838

3939
## Application Setup
4040

41-
This image sets up the Yaak desktop app and makes its interface available via KasmVNC server in the browser. The interface is available at `http://your-ip:3000` or `https://your-ip:3001`.
41+
This image sets up the Yaak desktop app and makes its interface available in the browser. The interface is available at `https://your-ip:3001`.
4242

43-
**Modern GUI desktop apps have issues with the latest Docker and syscall compatibility, you can use Docker with the `--security-opt seccomp=unconfined` setting to allow these syscalls on hosts with older Kernels or libseccomp**
43+
### Strict reverse proxies
44+
45+
This image uses a self-signed certificate by default. This naturally means the scheme is `https`.
46+
If you are using a reverse proxy which validates certificates, you need to [disable this check for the container](https://docs.linuxserver.io/faq#strict-proxy).
47+
48+
**Modern GUI desktop apps may have compatibility issues with the latest Docker syscall restrictions. You can use Docker with the `--security-opt seccomp=unconfined` setting to allow these syscalls on hosts with older Kernels or libseccomp versions.**
4449

4550
### Security
4651

4752
!!! warning
4853

49-
Do not put this on the Internet if you do not know what you are doing.
54+
This container provides privileged access to the host system. Do not expose it to the Internet unless you have secured it properly.
5055

51-
By default this container has no authentication and the optional environment variables `CUSTOM_USER` and `PASSWORD` to enable basic http auth via the embedded NGINX server should only be used to locally secure the container from unwanted access on a local network. If exposing this to the Internet we recommend putting it behind a reverse proxy, such as [SWAG](https://github.com/linuxserver/docker-swag), and ensuring a secure authentication solution is in place. From the web interface a terminal can be launched and it is configured for passwordless sudo, so anyone with access to it can install and run whatever they want along with probing your local network.
56+
**HTTPS is required for full functionality.** Modern browser features such as WebCodecs, used for video and audio, will not function over an insecure HTTP connection.
5257

53-
### Options in all KasmVNC based GUI containers
58+
By default, this container has no authentication. The optional `CUSTOM_USER` and `PASSWORD` environment variables enable basic HTTP auth, which is suitable only for securing the container on a trusted local network. For internet exposure, we strongly recommend placing the container behind a reverse proxy, such as [SWAG](https://github.com/linuxserver/docker-swag), with a robust authentication mechanism.
5459

55-
This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxserver/docker-baseimage-kasmvnc) which means there are additional environment variables and run configurations to enable or disable specific functionality.
60+
The web interface includes a terminal with passwordless `sudo` access. Any user with access to the GUI can gain root control within the container, install arbitrary software, and probe your local network.
5661

57-
#### Optional environment variables
62+
### Options in all Selkies-based GUI containers
5863

59-
| Variable | Description |
60-
| :----: | --- |
61-
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
62-
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default 3001. |
63-
| CUSTOM_USER | HTTP Basic auth username, abc is default. |
64-
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
65-
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
66-
| TITLE | The page title displayed on the web browser, default "KasmVNC Client". |
67-
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
68-
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
69-
| DRINODE | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |
70-
| DISABLE_IPV6 | If set to true or any value this will disable IPv6 |
71-
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
72-
| NO_DECOR | If set the application will run without window borders in openbox for use as a PWA. |
73-
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
74-
75-
#### Optional run configurations
64+
This container is based on [Docker Baseimage Selkies](https://github.com/linuxserver/docker-baseimage-selkies), which provides the following environment variables and run configurations to customize its functionality.
65+
66+
#### Optional Environment Variables
7667

7768
| Variable | Description |
7869
| :----: | --- |
79-
| `--privileged` | Will start a Docker in Docker (DinD) setup inside the container to use docker in an isolated environment. For increased performance mount the Docker directory inside the container to the host IE `-v /home/user/docker-data:/var/lib/docker`. |
80-
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mount in the host level Docker socket to either interact with it via CLI or use Docker enabled applications. |
70+
| `CUSTOM_PORT` | Internal HTTP port. Defaults to `3000`. |
71+
| `CUSTOM_HTTPS_PORT` | Internal HTTPS port. Defaults to `3001`. |
72+
| `CUSTOM_USER` | Username for HTTP Basic Auth. Defaults to `abc`. |
73+
| `PASSWORD` | Password for HTTP Basic Auth. If unset, authentication is disabled. |
74+
| `SUBFOLDER` | Application subfolder for reverse proxy configurations. Must include leading and trailing slashes, e.g., `/subfolder/`. |
75+
| `TITLE` | Page title displayed in the web browser. Defaults to "Selkies". |
76+
| `START_DOCKER` | If set to `false`, the privileged Docker-in-Docker setup will not start automatically. |
77+
| `DISABLE_IPV6` | Set to `true` to disable IPv6 support in the container. |
78+
| `LC_ALL` | Sets the container's locale, e.g., `fr_FR.UTF-8`. |
79+
| `DRINODE` | If mounting in /dev/dri for DRI3 GPU Acceleration allows you to specify the device to use IE `/dev/dri/renderD128` |
80+
| `NO_DECOR` | If set, applications will run without window borders, suitable for PWA usage. |
81+
| `NO_FULL` | If set, applications will not be automatically fullscreened. |
82+
| `DISABLE_ZINK` | If set, Zink-related environment variables will not be configured when a video card is detected. |
83+
| `WATERMARK_PNG` | Full path to a watermark PNG file inside the container, e.g., `/usr/share/selkies/www/icon.png`. |
84+
| `WATERMARK_LOCATION` | Integer specifying the watermark location: `1` (Top Left), `2` (Top Right), `3` (Bottom Left), `4` (Bottom Right), `5` (Centered), `6` (Animated). |
85+
86+
#### Optional Run Configurations
87+
88+
| Argument | Description |
89+
| :----: | --- |
90+
| `--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`. |
91+
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mounts the host's Docker socket to manage host containers from within this container. |
8192
| `--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) |
8293

8394
### Language Support - Internationalization
8495

85-
The environment variable `LC_ALL` can be used to start this container in a different language than English simply pass for example to launch the Desktop session in French `LC_ALL=fr_FR.UTF-8`. Some languages like Chinese, Japanese, or Korean will be missing fonts needed to render properly known as cjk fonts, but others may exist and not be installed inside the container depending on what underlying distribution you are running. We only ensure fonts for Latin characters are present. Fonts can be installed with a mod on startup.
96+
To launch the desktop session in a different language, set the `LC_ALL` environment variable. For example:
8697

87-
To install cjk fonts on startup as an example pass the environment variables (Alpine base):
98+
* `-e LC_ALL=zh_CN.UTF-8` - Chinese
99+
* `-e LC_ALL=ja_JP.UTF-8` - Japanese
100+
* `-e LC_ALL=ko_KR.UTF-8` - Korean
101+
* `-e LC_ALL=ar_AE.UTF-8` - Arabic
102+
* `-e LC_ALL=ru_RU.UTF-8` - Russian
103+
* `-e LC_ALL=es_MX.UTF-8` - Spanish (Latin America)
104+
* `-e LC_ALL=de_DE.UTF-8` - German
105+
* `-e LC_ALL=fr_FR.UTF-8` - French
106+
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
107+
* `-e LC_ALL=it_IT.UTF-8` - Italian
88108

89-
```
90-
-e DOCKER_MODS=linuxserver/mods:universal-package-install
91-
-e INSTALL_PACKAGES=font-noto-cjk
92-
-e LC_ALL=zh_CN.UTF-8
93-
```
94-
95-
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.
96-
97-
### DRI3 GPU Acceleration (KasmVNC interface)
109+
### DRI3 GPU Acceleration
98110

99111
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
100112

@@ -109,29 +121,35 @@ This feature only supports **Open Source** GPU drivers:
109121
| NVIDIA | nouveau2 drivers only, closed source NVIDIA drivers lack DRI3 support |
110122

111123
The `DRINODE` environment variable can be used to point to a specific GPU.
112-
Up to date information can be found [here](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html)
113124

114-
### Application management
125+
DRI3 will work on aarch64 given the correct drivers are installed inside the container for your chipset.
126+
127+
### Application Management
128+
129+
There are two methods for installing applications inside the container: PRoot Apps (recommended for persistence) and Native Apps.
130+
131+
#### PRoot Apps (Persistent)
115132

116-
#### PRoot Apps
133+
Natively installed packages (e.g., via `apt-get install`) will not persist if the container is recreated. To retain applications and their settings across container updates, we recommend using [proot-apps](https://github.com/linuxserver/proot-apps). These are portable applications installed to the user's persistent `$HOME` directory.
117134

118-
If you run system native installations of software IE `sudo apt-get install filezilla` and then upgrade or destroy/re-create the container that software will be removed and the container will be at a clean state. For some users that will be acceptable and they can update their system packages as well using system native commands like `apt-get upgrade`. If you want Docker to handle upgrading the container and retain your applications and settings we have created [proot-apps](https://github.com/linuxserver/proot-apps) which allow portable applications to be installed to persistent storage in the user's `$HOME` directory and they will work in a confined Docker environment out of the box. These applications and their settings will persist upgrades of the base container and can be mounted into different flavors of KasmVNC based containers on the fly. This can be achieved from the command line with:
135+
To install an application, use the command line inside the container:
119136

120137
```
121138
proot-apps install filezilla
122139
```
123140

124-
PRoot Apps is included in all KasmVNC based containers, a list of linuxserver.io supported applications is located [HERE](https://github.com/linuxserver/proot-apps?tab=readme-ov-file#supported-apps).
141+
A list of supported applications is available [here](https://github.com/linuxserver/proot-apps?tab=readme-ov-file#supported-apps).
125142

126-
#### Native Apps
143+
#### Native Apps (Non-Persistent)
127144

128-
It is possible to install extra packages during container start using [universal-package-install](https://github.com/linuxserver/docker-mods/tree/universal-package-install). It might increase starting time significantly. PRoot is preferred.
145+
You can install packages from the system's native repository using the [universal-package-install](https://github.com/linuxserver/docker-mods/tree/universal-package-install) mod. This method will increase the container's start time and is not persistent. Add the following to your `compose.yaml`:
129146

130147
```yaml
131148
environment:
132149
- DOCKER_MODS=linuxserver/mods:universal-package-install
133150
- INSTALL_PACKAGES=libfuse2|git|gdb
134151
```
152+
135153
136154
## Usage
137155
@@ -187,7 +205,7 @@ Containers are configured using parameters passed at runtime (such as those abov
187205

188206
| Parameter | Function |
189207
| :----: | --- |
190-
| `3000:3000` | Yaak desktop gui. |
208+
| `3000:3000` | Yaak desktop gui (for reverse proxy only). |
191209
| `3001:3001` | Yaak desktop gui HTTPS. |
192210

193211
### Environment Variables (`-e`)
@@ -389,53 +407,58 @@ To help with development, we generate this dependency graph.
389407
custom services -> legacy-services
390408
legacy-services -> ci-service-check
391409
init-migrations -> init-adduser
392-
init-kasmvnc-end -> init-config
393410
init-os-end -> init-config
411+
init-selkies-end -> init-config
394412
init-config -> init-config-end
395413
init-crontab-config -> init-config-end
396414
init-config -> init-crontab-config
397415
init-mods-end -> init-custom-files
398416
init-adduser -> init-device-perms
399417
base -> init-envfile
400-
init-os-end -> init-kasmvnc
401-
init-nginx -> init-kasmvnc-config
402-
init-video -> init-kasmvnc-end
403418
base -> init-migrations
404419
init-config-end -> init-mods
405420
init-mods-package-install -> init-mods-end
406421
init-mods -> init-mods-package-install
407-
init-kasmvnc -> init-nginx
422+
init-selkies -> init-nginx
408423
init-adduser -> init-os-end
409424
init-device-perms -> init-os-end
410425
init-envfile -> init-os-end
426+
init-os-end -> init-selkies
427+
init-nginx -> init-selkies-config
428+
init-video -> init-selkies-end
411429
init-custom-files -> init-services
412-
init-kasmvnc-config -> init-video
430+
init-selkies-config -> init-video
413431
init-services -> svc-cron
414432
svc-cron -> legacy-services
433+
init-services -> svc-dbus
434+
svc-xorg -> svc-dbus
435+
svc-dbus -> legacy-services
415436
init-services -> svc-de
416437
svc-nginx -> svc-de
438+
svc-selkies -> svc-de
439+
svc-xorg -> svc-de
417440
svc-de -> legacy-services
418441
init-services -> svc-docker
419-
svc-de -> svc-docker
420442
svc-docker -> legacy-services
421-
init-services -> svc-kasmvnc
422-
svc-pulseaudio -> svc-kasmvnc
423-
svc-kasmvnc -> legacy-services
424-
init-services -> svc-kclient
425-
svc-kasmvnc -> svc-kclient
426-
svc-kclient -> legacy-services
427443
init-services -> svc-nginx
428-
svc-kclient -> svc-nginx
429444
svc-nginx -> legacy-services
430445
init-services -> svc-pulseaudio
431446
svc-pulseaudio -> legacy-services
447+
init-services -> svc-selkies
448+
svc-nginx -> svc-selkies
449+
svc-pulseaudio -> svc-selkies
450+
svc-xorg -> svc-selkies
451+
svc-selkies -> legacy-services
452+
init-services -> svc-xorg
453+
svc-xorg -> legacy-services
432454
}
433455
Base Images: {
434-
"baseimage-kasmvnc:ubuntunoble" <- "baseimage-ubuntu:noble"
456+
"baseimage-selkies:ubuntunoble" <- "baseimage-ubuntu:noble"
435457
}
436458
"yaak:latest" <- Base Images
437459
```
438460

439461
## Versions
440462

463+
* **29.07.25:** - Rebase to selkies. Breaking Change: HTTPS is now required. Either use a reverse proxy with SSL cert or direct connect to port 8181 with HTTPS.
441464
* **12.09.24:** - Initial release.

0 commit comments

Comments
 (0)