You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+68-62Lines changed: 68 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,76 +54,74 @@ The architectures supported by this image are:
54
54
| x86-64 | ✅ | amd64-\<version tag\>|
55
55
| arm64 | ❌ ||
56
56
57
-
## Version Tags
58
-
59
-
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
60
-
61
-
| Tag | Available | Description |
62
-
| :----: | :----: |--- |
63
-
| latest | ✅ | Standard English release |
64
-
| chinese | ✅ | Simplified Chinese version |
65
-
66
57
## Application Setup
67
58
68
59
The application can be accessed at:
69
60
70
61
*http://yourhost:3000/
71
62
*https://yourhost:3001/
72
63
73
-
**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**
64
+
**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.**
74
65
75
66
### Security
76
67
77
68
>[!WARNING]
78
-
>Do not put this on the Internet if you do not know what you are doing.
69
+
>This container provides privileged access to the host system. Do not expose it to the Internet unless you have secured it properly.
79
70
80
-
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.
71
+
**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.
81
72
82
-
### Options in all KasmVNC based GUI containers
73
+
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.
83
74
84
-
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.
75
+
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.
85
76
86
-
#### Optional environment variables
77
+
###Options in all Selkies-based GUI containers
87
78
88
-
| Variable | Description |
89
-
| :----: | --- |
90
-
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
91
-
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default 3001. |
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
94
-
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/`|
95
-
| TITLE | The page title displayed on the web browser, default "KasmVNC Client". |
96
-
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
97
-
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
98
-
| 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`|
99
-
| DISABLE_IPV6 | If set to true or any value this will disable IPv6 |
100
-
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8``ar_AE.UTF-8`|
101
-
| NO_DECOR | If set the application will run without window borders in openbox for use as a PWA. |
102
-
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
103
-
104
-
#### Optional run configurations
79
+
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.
80
+
81
+
#### Optional Environment Variables
105
82
106
83
| Variable | Description |
107
84
| :----: | --- |
108
-
|`--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`. |
109
-
|`-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. |
85
+
|`CUSTOM_PORT`| Internal HTTP port. Defaults to `3000`. |
86
+
|`CUSTOM_HTTPS_PORT`| Internal HTTPS port. Defaults to `3001`. |
87
+
|`CUSTOM_USER`| Username for HTTP Basic Auth. Defaults to `abc`. |
88
+
|`PASSWORD`| Password for HTTP Basic Auth. If unset, authentication is disabled. |
89
+
|`SUBFOLDER`| Application subfolder for reverse proxy configurations. Must include leading and trailing slashes, e.g., `/subfolder/`. |
90
+
|`TITLE`| Page title displayed in the web browser. Defaults to "Selkies". |
91
+
|`START_DOCKER`| If set to `false`, the privileged Docker-in-Docker setup will not start automatically. |
92
+
|`DISABLE_IPV6`| Set to `true` to disable IPv6 support in the container. |
93
+
|`LC_ALL`| Sets the container's locale, e.g., `fr_FR.UTF-8`. |
94
+
|`DRINODE`| If mounting in /dev/dri for DRI3 GPU Acceleration allows you to specify the device to use IE `/dev/dri/renderD128`|
95
+
|`NO_DECOR`| If set, applications will run without window borders, suitable for PWA usage. |
96
+
|`NO_FULL`| If set, applications will not be automatically fullscreened. |
97
+
|`DISABLE_ZINK`| If set, Zink-related environment variables will not be configured when a video card is detected. |
98
+
|`WATERMARK_PNG`| Full path to a watermark PNG file inside the container, e.g., `/usr/share/selkies/www/icon.png`. |
|`--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`. |
106
+
|`-v /var/run/docker.sock:/var/run/docker.sock`| Mounts the host's Docker socket to manage host containers from within this container. |
110
107
|`--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) |
111
108
112
109
### Language Support - Internationalization
113
110
114
-
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.
115
-
116
-
To install cjk fonts on startup as an example pass the environment variables (Alpine base):
111
+
To launch the desktop session in a different language, set the `LC_ALL` environment variable. For example:
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.
125
-
126
-
### DRI3 GPU Acceleration (KasmVNC interface)
124
+
### DRI3 GPU Acceleration
127
125
128
126
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
129
127
@@ -138,27 +136,30 @@ This feature only supports **Open Source** GPU drivers:
The `DRINODE` environment variable can be used to point to a specific GPU.
141
-
Up to date information can be found [here](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html)
142
139
143
-
### Nvidia GPU Support (KasmVNC interface)
140
+
DRI3 will work on aarch64 given the correct drivers are installed inside the container for your chipset.
144
141
145
-
**Nvidia support is not compatible with Alpine based images as Alpine lacks Nvidia drivers**
142
+
### Nvidia GPU Support
146
143
147
-
Nvidia support is available by leveraging Zink for OpenGL support. This can be enabled with the following run flags:
144
+
**Note: Nvidia support is not available for Alpine-based images.**
148
145
149
-
| Variable | Description |
146
+
Nvidia GPU support is available by leveraging Zink for OpenGL. When a compatible Nvidia GPU is passed through, it will also be **automatically utilized for hardware-accelerated video stream encoding** (using the `x264enc` full-frame profile), significantly reducing CPU load.
147
+
148
+
Enable Nvidia support with the following runtime flags:
149
+
150
+
| Flag | Description |
150
151
| :----: | --- |
151
-
| --gpus all |This can be filtered down but for most setups this will pass the one Nvidia GPU on the system|
152
-
| --runtime nvidia |Specify the Nvidia runtime which mounts drivers and tools in from the host |
152
+
|`--gpus all`|Passes all available host GPUs to the container. This can be filtered to specific GPUs.|
153
+
|`--runtime nvidia`|Specifies the Nvidia runtime, which provides the necessary drivers and tools from the host.|
153
154
154
-
The compose syntax is slightly different for this as you will need to set nvidia as the default runtime:
155
+
For Docker Compose, you must first configure the Nvidia runtime as the default on the host:
Then, assign the GPU to the service in your `compose.yaml`:
162
163
163
164
```
164
165
services:
@@ -173,21 +174,25 @@ services:
173
174
capabilities: [compute,video,graphics,utility]
174
175
```
175
176
176
-
### Application management
177
+
### Application Management
178
+
179
+
There are two methods for installing applications inside the container: PRoot Apps (recommended for persistence) and Native Apps.
180
+
181
+
#### PRoot Apps (Persistent)
177
182
178
-
#### PRoot Apps
183
+
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.
179
184
180
-
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:
185
+
To install an application, use the command line inside the container:
181
186
182
187
```
183
188
proot-apps install filezilla
184
189
```
185
190
186
-
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).
191
+
A list of supported applications is available [here](https://github.com/linuxserver/proot-apps?tab=readme-ov-file#supported-apps).
187
192
188
-
#### Native Apps
193
+
#### Native Apps (Non-Persistent)
189
194
190
-
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.
195
+
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`:
191
196
192
197
```yaml
193
198
environment:
@@ -248,7 +253,7 @@ Containers are configured using parameters passed at runtime (such as those abov
248
253
249
254
| Parameter | Function |
250
255
| :----: | --- |
251
-
|`-p 3000:3000`| WPS Office desktop gui. |
256
+
|`-p 3000:3000`| WPS Office desktop gui, must be proxied. |
252
257
|`-p 3001:3001`| WPS Office desktop gui HTTPS. |
253
258
|`-e PUID=1000`| for UserID - see below for explanation |
254
259
|`-e PGID=1000`| for GroupID - see below for explanation |
@@ -419,6 +424,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
419
424
420
425
## Versions
421
426
427
+
***10.07.25:** - Rebase to Selkies HTTPS IS NOW REQUIRED, merge chinese and english image.
422
428
***10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "This is needed for electron applications to function properly."}
34
29
opt_security_opt_param: true
35
30
opt_security_opt_param_vars:
36
31
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker."}
37
-
#Kasm blurb settings
38
-
kasm_blurb: true
32
+
#Selkies blurb settings
33
+
selkies_blurb: true
39
34
show_nvidia: true
40
-
external_http_port: "3000"
41
-
external_https_port: "3001"
42
-
noto_fonts: "fonts-noto-cjk"
43
35
# application setup block
44
36
app_setup_block_enabled: true
45
37
app_setup_block: |
@@ -109,6 +101,7 @@ init_diagram: |
109
101
"wps-office:latest" <- Base Images
110
102
# changelog
111
103
changelogs:
104
+
- {date: "10.07.25:", desc: "Rebase to Selkies HTTPS IS NOW REQUIRED, merge chinese and english image."}
112
105
- {date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon."}
113
106
- {date: "06.01.24:", desc: "Rebase to Debian Bookworm."}
0 commit comments