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
+58-9Lines changed: 58 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,15 @@ The application can be accessed at:
64
64
*http://yourhost:3000/
65
65
*https://yourhost:3001/
66
66
67
+
**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**
68
+
69
+
### Security
70
+
71
+
>[!WARNING]
72
+
>Do not put this on the Internet if you do not know what you are doing.
73
+
74
+
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.
75
+
67
76
### Options in all KasmVNC based GUI containers
68
77
69
78
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.
@@ -81,8 +90,9 @@ This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxse
81
90
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
82
91
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
83
92
| 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`|
93
+
| DISABLE_IPV6 | If set to true or any value this will disable IPv6 |
84
94
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8``ar_AE.UTF-8`|
85
-
| NO_DECOR | If set the application will run without window borders for use as a PWA. |
95
+
| NO_DECOR | If set the application will run without window borders in openbox for use as a PWA. |
86
96
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
87
97
88
98
#### Optional run configurations
@@ -91,26 +101,65 @@ This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxse
91
101
| :----: | --- |
92
102
|`--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`. |
93
103
|`-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. |
94
-
|`--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 appplications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
104
+
|`--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) |
95
105
96
106
### Language Support - Internationalization
97
107
98
-
The environment variable `LC_ALL` can be used to start this image 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. We only ensure fonts for Latin characters are present. Fonts can be installed with a mod on startup.
108
+
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.
99
109
100
-
To install cjk fonts on startup as an example pass the environment variables:
110
+
To install cjk fonts on startup as an example pass the environment variables (Alpine base):
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.
109
118
119
+
### DRI3 GPU Acceleration
120
+
121
+
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
122
+
123
+
`--device /dev/dri:/dev/dri`
124
+
125
+
This feature only supports **Open Source** GPU drivers:
126
+
127
+
| Driver | Description |
128
+
| :----: | --- |
129
+
| Intel | i965 and i915 drivers for Intel iGPU chipsets |
130
+
| AMD | AMDGPU, Radeon, and ATI drivers for AMD dedicated or APU chipsets |
The `DRINODE` environment variable can be used to point to a specific GPU.
134
+
Up to date information can be found [here](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html)
135
+
136
+
### Application management
137
+
138
+
#### PRoot Apps
139
+
140
+
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:
141
+
142
+
```
143
+
proot-apps install filezilla
144
+
```
145
+
146
+
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).
147
+
148
+
#### Native Apps
149
+
150
+
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.
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).
113
161
162
+
114
163
## Usage
115
164
116
165
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -319,10 +368,10 @@ docker build \
319
368
-t lscr.io/linuxserver/sqlitebrowser:latest .
320
369
```
321
370
322
-
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
371
+
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
323
372
324
373
```bash
325
-
docker run --rm --privileged multiarch/qemu-user-static:register --reset
374
+
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
326
375
```
327
376
328
377
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
Copy file name to clipboardExpand all lines: readme-vars.yml
+6-47Lines changed: 6 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,12 @@ opt_security_opt_param: true
33
33
opt_security_opt_param_vars:
34
34
- { 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." }
35
35
36
+
# Kasm blurb settings
37
+
kasm_blurb: true
38
+
external_http_port: "3000"
39
+
external_https_port: "3001"
40
+
noto_fonts: "font-noto-cjk"
41
+
36
42
# application setup block
37
43
app_setup_block_enabled: true
38
44
app_setup_block: |
@@ -41,53 +47,6 @@ app_setup_block: |
41
47
* http://yourhost:3000/
42
48
* https://yourhost:3001/
43
49
44
-
### Options in all KasmVNC based GUI containers
45
-
46
-
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.
47
-
48
-
#### Optional environment variables
49
-
50
-
| Variable | Description |
51
-
| :----: | --- |
52
-
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
53
-
| 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 |
56
-
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
57
-
| TITLE | The page title displayed on the web browser, default "KasmVNC Client". |
58
-
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
59
-
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
60
-
| 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` |
61
-
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
62
-
| NO_DECOR | If set the application will run without window borders for use as a PWA. |
63
-
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
64
-
65
-
#### Optional run configurations
66
-
67
-
| Variable | Description |
68
-
| :----: | --- |
69
-
| `--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`. |
70
-
| `-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. |
71
-
| `--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 appplications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
72
-
73
-
### Language Support - Internationalization
74
-
75
-
The environment variable `LC_ALL` can be used to start this image 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. We only ensure fonts for Latin characters are present. Fonts can be installed with a mod on startup.
76
-
77
-
To install cjk fonts on startup as an example pass the environment variables:
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.
86
-
87
-
### Lossless mode
88
-
89
-
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).
90
-
91
50
# changelog
92
51
changelogs:
93
52
- { date: "23.05.24:", desc: "Rebase to Alpine 3.20." }
0 commit comments