Skip to content

Commit 82e7cff

Browse files
committed
update readme for selkies
1 parent 87e9191 commit 82e7cff

8 files changed

Lines changed: 112 additions & 226 deletions

File tree

.editorconfig

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.bug.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.feature.yml

100755100644
File mode changed.

.github/workflows/call_issue_pr_tracker.yml

100755100644
File mode changed.

.github/workflows/call_issues_cron.yml

100755100644
File mode changed.

.github/workflows/permissions.yml

100755100644
File mode changed.

README.md

Lines changed: 5 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ This image provides various versions that are available via tags. Please read th
6868
| fedora-xfce || XFCE Fedora |
6969
| arch-xfce || XFCE Arch |
7070
| debian-xfce || XFCE Debian |
71-
| alpine-kde || KDE Alpine |
7271
| ubuntu-kde || KDE Ubuntu |
7372
| fedora-kde || KDE Fedora |
7473
| arch-kde || KDE Arch |
@@ -83,148 +82,13 @@ This image provides various versions that are available via tags. Please read th
8382
| fedora-i3 || i3 Fedora |
8483
| arch-i3 || i3 Arch |
8584
| debian-i3 || i3 Debian |
86-
| alpine-openbox || Openbox Alpine |
87-
| ubuntu-openbox || Openbox Ubuntu |
88-
| fedora-openbox || Openbox Fedora |
89-
| arch-openbox || Openbox Arch |
90-
| debian-openbox || Openbox Debian |
91-
| alpine-icewm || IceWM Alpine |
92-
| ubuntu-icewm || IceWM Ubuntu |
93-
| fedora-icewm || IceWM Fedora |
94-
| arch-icewm || IceWM Arch |
95-
| debian-icewm || IceWM Debian |
9685

9786
## Application Setup
9887

99-
The Webtop can be accessed at:
88+
### Strict reverse proxies
10089

101-
* http://yourhost:3000/
102-
* https://yourhost:3001/
103-
104-
**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**
105-
106-
### Security
107-
108-
>[!WARNING]
109-
>Do not put this on the Internet if you do not know what you are doing.
110-
111-
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.
112-
113-
### Options in all KasmVNC based GUI containers
114-
115-
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.
116-
117-
#### Optional environment variables
118-
119-
| Variable | Description |
120-
| :----: | --- |
121-
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
122-
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default 3001. |
123-
| CUSTOM_USER | HTTP Basic auth username, abc is default. |
124-
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
125-
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
126-
| TITLE | The page title displayed on the web browser, default "KasmVNC Client". |
127-
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
128-
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
129-
| 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` |
130-
| DISABLE_IPV6 | If set to true or any value this will disable IPv6 |
131-
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
132-
| NO_DECOR | If set the application will run without window borders in openbox for use as a PWA. |
133-
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
134-
135-
#### Optional run configurations
136-
137-
| Variable | Description |
138-
| :----: | --- |
139-
| `--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`. |
140-
| `-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. |
141-
| `--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) |
142-
143-
### Language Support - Internationalization
144-
145-
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.
146-
147-
To install cjk fonts on startup as an example pass the environment variables (Alpine base):
148-
149-
```
150-
-e DOCKER_MODS=linuxserver/mods:universal-package-install
151-
-e INSTALL_PACKAGES=font-noto-cjk
152-
-e LC_ALL=zh_CN.UTF-8
153-
```
154-
155-
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.
156-
157-
### DRI3 GPU Acceleration (KasmVNC interface)
158-
159-
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
160-
161-
`--device /dev/dri:/dev/dri`
162-
163-
This feature only supports **Open Source** GPU drivers:
164-
165-
| Driver | Description |
166-
| :----: | --- |
167-
| Intel | i965 and i915 drivers for Intel iGPU chipsets |
168-
| AMD | AMDGPU, Radeon, and ATI drivers for AMD dedicated or APU chipsets |
169-
| NVIDIA | nouveau2 drivers only, closed source NVIDIA drivers lack DRI3 support |
170-
171-
The `DRINODE` environment variable can be used to point to a specific GPU.
172-
Up to date information can be found [here](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html)
173-
174-
### Nvidia GPU Support (KasmVNC interface)
175-
176-
**Nvidia support is not compatible with Alpine based images as Alpine lacks Nvidia drivers**
177-
178-
Nvidia support is available by leveraging Zink for OpenGL support. This can be enabled with the following run flags:
179-
180-
| Variable | Description |
181-
| :----: | --- |
182-
| --gpus all | This can be filtered down but for most setups this will pass the one Nvidia GPU on the system |
183-
| --runtime nvidia | Specify the Nvidia runtime which mounts drivers and tools in from the host |
184-
185-
The compose syntax is slightly different for this as you will need to set nvidia as the default runtime:
186-
187-
```
188-
sudo nvidia-ctk runtime configure --runtime=docker --set-as-default
189-
sudo service docker restart
190-
```
191-
192-
And to assign the GPU in compose:
193-
194-
```
195-
services:
196-
webtop:
197-
image: lscr.io/linuxserver/webtop:latest
198-
deploy:
199-
resources:
200-
reservations:
201-
devices:
202-
- driver: nvidia
203-
count: 1
204-
capabilities: [compute,video,graphics,utility]
205-
```
206-
207-
### Application management
208-
209-
#### PRoot Apps
210-
211-
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:
212-
213-
```
214-
proot-apps install filezilla
215-
```
216-
217-
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).
218-
219-
#### Native Apps
220-
221-
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.
222-
223-
```yaml
224-
environment:
225-
- DOCKER_MODS=linuxserver/mods:universal-package-install
226-
- INSTALL_PACKAGES=libfuse2|git|gdb
227-
```
90+
This image uses a self-signed certificate by default. This naturally means the scheme is `https`.
91+
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).
22892

22993
## Usage
23094

@@ -255,8 +119,6 @@ services:
255119
ports:
256120
- 3000:3000
257121
- 3001:3001
258-
devices:
259-
- /dev/dri:/dev/dri #optional
260122
shm_size: "1gb" #optional
261123
restart: unless-stopped
262124
```
@@ -276,7 +138,6 @@ docker run -d \
276138
-p 3001:3001 \
277139
-v /path/to/data:/config \
278140
-v /var/run/docker.sock:/var/run/docker.sock `#optional` \
279-
--device /dev/dri:/dev/dri `#optional` \
280141
--shm-size="1gb" `#optional` \
281142
--restart unless-stopped \
282143
lscr.io/linuxserver/webtop:latest
@@ -288,7 +149,7 @@ Containers are configured using parameters passed at runtime (such as those abov
288149

289150
| Parameter | Function |
290151
| :----: | --- |
291-
| `-p 3000:3000` | Web Desktop GUI |
152+
| `-p 3000:3000` | Web Desktop GUI HTTP, must be proxied |
292153
| `-p 3001:3001` | Web Desktop GUI HTTPS |
293154
| `-e PUID=1000` | for UserID - see below for explanation |
294155
| `-e PGID=1000` | for GroupID - see below for explanation |
@@ -297,7 +158,6 @@ Containers are configured using parameters passed at runtime (such as those abov
297158
| `-e TITLE=Webtop` | String which will be used as page/tab title in the web browser. |
298159
| `-v /config` | abc users home directory |
299160
| `-v /var/run/docker.sock` | Docker Socket on the system, if you want to use Docker in the container |
300-
| `--device /dev/dri` | Add this for GL support (Linux hosts only) |
301161
| `--shm-size=` | We set this to 1 gig to prevent modern web browsers from crashing |
302162
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. |
303163

@@ -463,6 +323,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
463323

464324
## Versions
465325

326+
* **17.06.25:** - Rebase all images to Selkies, drop openbox and icewm, bump Alpine to 3.22, bump Fedora to 42.
466327
* **10.01.25:** - Rebase Fedora to 41.
467328
* **06.12.24:** - Rebase Alpine to 3.21.
468329
* **26.09.24:** - Swap from firefox to chromium on Alpine images.

0 commit comments

Comments
 (0)