Skip to content

Commit 30aae79

Browse files
Bot Updating Documentation
1 parent e5ee87a commit 30aae79

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/images/docker-darktable.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and
6161

6262
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.
6363

64+
While not generally recommended, certain legacy environments specifically those with older hardware or outdated Linux distributions may require the deactivation of the standard seccomp profile to get containerized desktop software to run. This can be achieved by utilizing the `--security-opt seccomp=unconfined` parameter. It is critical to use this option only when absolutely necessary as it disables a key security layer of Docker, elevating the potential for container escape vulnerabilities.
65+
6466
### Options in all Selkies-based GUI containers
6567

6668
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.
@@ -205,8 +207,6 @@ services:
205207
darktable:
206208
image: lscr.io/linuxserver/darktable:latest
207209
container_name: darktable
208-
security_opt:
209-
- seccomp:unconfined #optional
210210
environment:
211211
- PUID=1000
212212
- PGID=1000
@@ -216,6 +216,7 @@ services:
216216
ports:
217217
- 3000:3000
218218
- 3001:3001
219+
shm_size: "1gb"
219220
restart: unless-stopped
220221
```
221222
@@ -224,13 +225,13 @@ services:
224225
```bash
225226
docker run -d \
226227
--name=darktable \
227-
--security-opt seccomp=unconfined `#optional` \
228228
-e PUID=1000 \
229229
-e PGID=1000 \
230230
-e TZ=Etc/UTC \
231231
-p 3000:3000 \
232232
-p 3001:3001 \
233233
-v /path/to/config:/config \
234+
--shm-size="1gb" \
234235
--restart unless-stopped \
235236
lscr.io/linuxserver/darktable:latest
236237
```
@@ -264,7 +265,7 @@ Containers are configured using parameters passed at runtime (such as those abov
264265

265266
| Parameter | Function |
266267
| :-----: | --- |
267-
| `--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. |
268+
| `--shm-size=` | Recommended for all desktop images. |
268269

269270
## Environment variables from files (Docker secrets)
270271

0 commit comments

Comments
 (0)