Skip to content

Commit e5ee87a

Browse files
Bot Updating Documentation
1 parent b417037 commit e5ee87a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/images/docker-cura.md

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

6464
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.
6565

66+
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.
67+
6668
### Options in all Selkies-based GUI containers
6769

6870
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.
@@ -207,8 +209,6 @@ services:
207209
cura:
208210
image: lscr.io/linuxserver/cura:latest
209211
container_name: cura
210-
security_opt:
211-
- seccomp:unconfined #optional
212212
environment:
213213
- PUID=1000
214214
- PGID=1000
@@ -218,6 +218,7 @@ services:
218218
ports:
219219
- 3000:3000
220220
- 3001:3001
221+
shm_size: "1gb"
221222
restart: unless-stopped
222223
```
223224
@@ -226,13 +227,13 @@ services:
226227
```bash
227228
docker run -d \
228229
--name=cura \
229-
--security-opt seccomp=unconfined `#optional` \
230230
-e PUID=1000 \
231231
-e PGID=1000 \
232232
-e TZ=Etc/UTC \
233233
-p 3000:3000 \
234234
-p 3001:3001 \
235235
-v /path/to/config:/config \
236+
--shm-size="1gb" \
236237
--restart unless-stopped \
237238
lscr.io/linuxserver/cura:latest
238239
```
@@ -266,7 +267,7 @@ Containers are configured using parameters passed at runtime (such as those abov
266267

267268
| Parameter | Function |
268269
| :-----: | --- |
269-
| `--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. |
270+
| `--shm-size=` | Recommended for all desktop images. |
270271

271272
## Environment variables from files (Docker secrets)
272273

0 commit comments

Comments
 (0)