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
+33-2
Original file line number
Diff line number
Diff line change
@@ -63,10 +63,37 @@ The architectures supported by this image are:
63
63
The application can be accessed at:
64
64
65
65
*http://yourhost:3000/
66
+
*https://yourhost:3001/
66
67
67
-
By default the user/pass is abc/abc, if you change your password or want to login manually to the GUI session for any reason use the following link:
68
+
### Options in all KasmVNC based GUI containers
68
69
69
-
*http://yourhost:3000/?login=true
70
+
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.
71
+
72
+
#### Optional environment variables
73
+
74
+
| Variable | Description |
75
+
| :----: | --- |
76
+
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
77
+
| 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 |
80
+
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/`|
81
+
| TITLE | The page title displayed on the web browser, default "KasmVNC Client". |
82
+
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
83
+
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
84
+
| 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`|
85
+
86
+
#### Optional run configurations
87
+
88
+
| Variable | Description |
89
+
| :----: | --- |
90
+
|`--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`. |
91
+
|`-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. |
92
+
|`--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) |
93
+
94
+
### Lossless mode
95
+
96
+
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).
70
97
71
98
## Usage
72
99
@@ -89,6 +116,7 @@ services:
89
116
- /path/to/config:/config
90
117
ports:
91
118
- 3000:3000
119
+
- 3001:3001
92
120
cap_add:
93
121
- IPC_LOCK
94
122
restart: unless-stopped
@@ -103,6 +131,7 @@ docker run -d \
103
131
-e PGID=1000 \
104
132
-e TZ=Etc/UTC \
105
133
-p 3000:3000 \
134
+
-p 3001:3001 \
106
135
-v /path/to/config:/config \
107
136
--cap-add="IPC_LOCK" \
108
137
--restart unless-stopped \
@@ -117,6 +146,7 @@ Container images are configured using parameters passed at runtime (such as thos
117
146
| Parameter | Function |
118
147
| :----: | --- |
119
148
|`-p 3000`| Mysql Workbench desktop gui. |
149
+
|`-p 3001`| Mysql Workbench desktop gui HTTPS. |
120
150
|`-e PUID=1000`| for UserID - see below for explanation |
121
151
|`-e PGID=1000`| for GroupID - see below for explanation |
122
152
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
@@ -232,6 +262,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
By default the user/pass is abc/abc, if you change your password or want to login manually to the GUI session for any reason use the following link:
41
+
### Options in all KasmVNC based GUI containers
40
42
41
-
* http://yourhost:3000/?login=true
43
+
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.
44
+
45
+
#### Optional environment variables
46
+
47
+
| Variable | Description |
48
+
| :----: | --- |
49
+
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
50
+
| 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 |
53
+
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
54
+
| TITLE | The page title displayed on the web browser, default "KasmVNC Client". |
55
+
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
56
+
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
57
+
| 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` |
58
+
59
+
#### Optional run configurations
60
+
61
+
| Variable | Description |
62
+
| :----: | --- |
63
+
| `--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`. |
64
+
| `-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. |
65
+
| `--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) |
66
+
67
+
### Lossless mode
68
+
69
+
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).
42
70
43
71
# changelog
44
72
changelogs:
73
+
- { date: "18.03.23:", desc: "Rebase to KasmVNC base image." }
0 commit comments