Skip to content

Commit b741c52

Browse files
Bot Updating Documentation
1 parent f510df9 commit b741c52

File tree

1 file changed

+95
-82
lines changed

1 file changed

+95
-82
lines changed

docs/images/docker-kdenlive.md

Lines changed: 95 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The architectures supported by this image are:
3434
| Architecture | Available | Tag |
3535
| :----: | :----: | ---- |
3636
| x86-64 || amd64-\<version tag\> |
37-
| arm64 | | arm64v8-\<version tag\> |
37+
| arm64 | | |
3838

3939
## Application Setup
4040

@@ -43,61 +43,73 @@ The application can be accessed at:
4343
* http://yourhost:3000/
4444
* https://yourhost:3001/
4545

46-
**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**
46+
### Strict reverse proxies
47+
48+
This image uses a self-signed certificate by default. This naturally means the scheme is `https`.
49+
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).
50+
51+
**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.**
4752

4853
### Security
4954

5055
!!! warning
5156

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

54-
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.
59+
**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.
5560

56-
### Options in all KasmVNC based GUI containers
61+
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.
5762

58-
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.
63+
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.
5964

60-
#### Optional environment variables
65+
### Options in all Selkies-based GUI containers
6166

62-
| Variable | Description |
63-
| :----: | --- |
64-
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
65-
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default 3001. |
66-
| CUSTOM_USER | HTTP Basic auth username, abc is default. |
67-
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
68-
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
69-
| TITLE | The page title displayed on the web browser, default "KasmVNC Client". |
70-
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
71-
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
72-
| 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` |
73-
| DISABLE_IPV6 | If set to true or any value this will disable IPv6 |
74-
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
75-
| NO_DECOR | If set the application will run without window borders in openbox for use as a PWA. |
76-
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
77-
78-
#### Optional run configurations
67+
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.
68+
69+
#### Optional Environment Variables
7970

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

8697
### Language Support - Internationalization
8798

88-
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.
89-
90-
To install cjk fonts on startup as an example pass the environment variables (Alpine base):
91-
92-
```
93-
-e DOCKER_MODS=linuxserver/mods:universal-package-install
94-
-e INSTALL_PACKAGES=fonts-noto-cjk
95-
-e LC_ALL=zh_CN.UTF-8
96-
```
99+
To launch the desktop session in a different language, set the `LC_ALL` environment variable. For example:
97100

98-
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.
101+
* `-e LC_ALL=zh_CN.UTF-8` - Chinese
102+
* `-e LC_ALL=ja_JP.UTF-8` - Japanese
103+
* `-e LC_ALL=ko_KR.UTF-8` - Korean
104+
* `-e LC_ALL=ar_AE.UTF-8` - Arabic
105+
* `-e LC_ALL=ru_RU.UTF-8` - Russian
106+
* `-e LC_ALL=es_MX.UTF-8` - Spanish (Latin America)
107+
* `-e LC_ALL=de_DE.UTF-8` - German
108+
* `-e LC_ALL=fr_FR.UTF-8` - French
109+
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
110+
* `-e LC_ALL=it_IT.UTF-8` - Italian
99111

100-
### DRI3 GPU Acceleration (KasmVNC interface)
112+
### DRI3 GPU Acceleration
101113

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

@@ -112,27 +124,30 @@ This feature only supports **Open Source** GPU drivers:
112124
| NVIDIA | nouveau2 drivers only, closed source NVIDIA drivers lack DRI3 support |
113125

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

117-
### Nvidia GPU Support (KasmVNC interface)
128+
DRI3 will work on aarch64 given the correct drivers are installed inside the container for your chipset.
118129

119-
**Nvidia support is not compatible with Alpine based images as Alpine lacks Nvidia drivers**
130+
### Nvidia GPU Support
120131

121-
Nvidia support is available by leveraging Zink for OpenGL support. This can be enabled with the following run flags:
132+
**Note: Nvidia support is not available for Alpine-based images.**
122133

123-
| Variable | Description |
134+
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.
135+
136+
Enable Nvidia support with the following runtime flags:
137+
138+
| Flag | Description |
124139
| :----: | --- |
125-
| --gpus all | This can be filtered down but for most setups this will pass the one Nvidia GPU on the system |
126-
| --runtime nvidia | Specify the Nvidia runtime which mounts drivers and tools in from the host |
140+
| `--gpus all` | Passes all available host GPUs to the container. This can be filtered to specific GPUs. |
141+
| `--runtime nvidia` | Specifies the Nvidia runtime, which provides the necessary drivers and tools from the host. |
127142

128-
The compose syntax is slightly different for this as you will need to set nvidia as the default runtime:
143+
For Docker Compose, you must first configure the Nvidia runtime as the default on the host:
129144

130145
```
131146
sudo nvidia-ctk runtime configure --runtime=docker --set-as-default
132-
sudo service docker restart
147+
sudo systemctl restart docker
133148
```
134149

135-
And to assign the GPU in compose:
150+
Then, assign the GPU to the service in your `compose.yaml`:
136151

137152
```
138153
services:
@@ -147,27 +162,32 @@ services:
147162
capabilities: [compute,video,graphics,utility]
148163
```
149164

150-
### Application management
165+
### Application Management
166+
167+
There are two methods for installing applications inside the container: PRoot Apps (recommended for persistence) and Native Apps.
168+
169+
#### PRoot Apps (Persistent)
151170

152-
#### PRoot Apps
171+
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.
153172

154-
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:
173+
To install an application, use the command line inside the container:
155174

156175
```
157176
proot-apps install filezilla
158177
```
159178

160-
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).
179+
A list of supported applications is available [here](https://github.com/linuxserver/proot-apps?tab=readme-ov-file#supported-apps).
161180

162-
#### Native Apps
181+
#### Native Apps (Non-Persistent)
163182

164-
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.
183+
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`:
165184

166185
```yaml
167186
environment:
168187
- DOCKER_MODS=linuxserver/mods:universal-package-install
169188
- INSTALL_PACKAGES=libfuse2|git|gdb
170189
```
190+
171191
172192
## Usage
173193
@@ -191,14 +211,11 @@ services:
191211
- PUID=1000
192212
- PGID=1000
193213
- TZ=Etc/UTC
194-
- SUBFOLDER=/ #optional
195214
volumes:
196215
- /path/to/kdenlive/config:/config
197216
ports:
198217
- 3000:3000
199218
- 3001:3001
200-
devices:
201-
- /dev/dri:/dev/dri #optional
202219
shm_size: "1gb" #optional
203220
restart: unless-stopped
204221
```
@@ -212,11 +229,9 @@ docker run -d \
212229
-e PUID=1000 \
213230
-e PGID=1000 \
214231
-e TZ=Etc/UTC \
215-
-e SUBFOLDER=/ `#optional` \
216232
-p 3000:3000 \
217233
-p 3001:3001 \
218234
-v /path/to/kdenlive/config:/config \
219-
--device /dev/dri:/dev/dri `#optional` \
220235
--shm-size="1gb" `#optional` \
221236
--restart unless-stopped \
222237
lscr.io/linuxserver/kdenlive:latest
@@ -230,8 +245,8 @@ Containers are configured using parameters passed at runtime (such as those abov
230245

231246
| Parameter | Function |
232247
| :----: | --- |
233-
| `3000:3000` | Kdenlive desktop gui |
234-
| `3001:3001` | Kdenlive desktop gui HTTPS |
248+
| `3000:3000` | Kdenlive desktop gui HTTP, must be proxied. |
249+
| `3001:3001` | Kdenlive desktop gui HTTPS. |
235250

236251
### Environment Variables (`-e`)
237252

@@ -240,20 +255,13 @@ Containers are configured using parameters passed at runtime (such as those abov
240255
| `PUID=1000` | for UserID - see below for explanation |
241256
| `PGID=1000` | for GroupID - see below for explanation |
242257
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
243-
| `SUBFOLDER=/` | Specify a subfolder to use with reverse proxies, IE `/subfolder/` |
244258

245259
### Volume Mappings (`-v`)
246260

247261
| Volume | Function |
248262
| :----: | --- |
249263
| `/config` | Users home directory in the container, stores local files and settings |
250264

251-
### Device Mappings (`--device`)
252-
253-
| Parameter | Function |
254-
| :-----: | --- |
255-
| `/dev/dri` | Add this for hardware acceleration (Linux hosts only) |
256-
257265
#### Miscellaneous Options
258266

259267
| Parameter | Function |
@@ -440,55 +448,60 @@ To help with development, we generate this dependency graph.
440448
custom services -> legacy-services
441449
legacy-services -> ci-service-check
442450
init-migrations -> init-adduser
443-
init-kasmvnc-end -> init-config
444451
init-os-end -> init-config
452+
init-selkies-end -> init-config
445453
init-config -> init-config-end
446454
init-crontab-config -> init-config-end
447455
init-config -> init-crontab-config
448456
init-mods-end -> init-custom-files
449457
init-adduser -> init-device-perms
450458
base -> init-envfile
451-
init-os-end -> init-kasmvnc
452-
init-nginx -> init-kasmvnc-config
453-
init-video -> init-kasmvnc-end
454459
base -> init-migrations
455460
init-config-end -> init-mods
456461
init-mods-package-install -> init-mods-end
457462
init-mods -> init-mods-package-install
458-
init-kasmvnc -> init-nginx
463+
init-selkies -> init-nginx
459464
init-adduser -> init-os-end
460465
init-device-perms -> init-os-end
461466
init-envfile -> init-os-end
467+
init-os-end -> init-selkies
468+
init-nginx -> init-selkies-config
469+
init-video -> init-selkies-end
462470
init-custom-files -> init-services
463-
init-kasmvnc-config -> init-video
471+
init-selkies-config -> init-video
464472
init-services -> svc-cron
465473
svc-cron -> legacy-services
474+
init-services -> svc-dbus
475+
svc-xorg -> svc-dbus
476+
svc-dbus -> legacy-services
466477
init-services -> svc-de
467478
svc-nginx -> svc-de
479+
svc-selkies -> svc-de
480+
svc-xorg -> svc-de
468481
svc-de -> legacy-services
469482
init-services -> svc-docker
470-
svc-de -> svc-docker
471483
svc-docker -> legacy-services
472-
init-services -> svc-kasmvnc
473-
svc-pulseaudio -> svc-kasmvnc
474-
svc-kasmvnc -> legacy-services
475-
init-services -> svc-kclient
476-
svc-kasmvnc -> svc-kclient
477-
svc-kclient -> legacy-services
478484
init-services -> svc-nginx
479-
svc-kclient -> svc-nginx
480485
svc-nginx -> legacy-services
481486
init-services -> svc-pulseaudio
482487
svc-pulseaudio -> legacy-services
488+
init-services -> svc-selkies
489+
svc-nginx -> svc-selkies
490+
svc-pulseaudio -> svc-selkies
491+
svc-xorg -> svc-selkies
492+
svc-selkies -> legacy-services
493+
init-services -> svc-xorg
494+
svc-xorg -> legacy-services
483495
}
484496
Base Images: {
485-
"baseimage-kasmvnc:ubuntunoble" <- "baseimage-ubuntu:noble"
497+
"baseimage-selkies:ubuntunoble" <- "baseimage-ubuntu:noble"
486498
}
487499
"kdenlive:latest" <- Base Images
488500
```
489501

490502
## Versions
491503

504+
* **12.07.25:** - Rebase to Selkies and use official AppImage, HTTPS IS NOW REQUIRED. Remove arm64 support.
492505
* **19.08.24:** - Rebase to noble. Use pypi and lsio wheels.
493506
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
494507
* **24.04.23:** - Ensure application launches in fullscreen.

0 commit comments

Comments
 (0)