diff --git a/docs/images/docker-cura.md b/docs/images/docker-cura.md index 25f82ba8bd..9ce08283a9 100755 --- a/docs/images/docker-cura.md +++ b/docs/images/docker-cura.md @@ -63,6 +63,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and 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. +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. + ### Options in all Selkies-based GUI containers 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: cura: image: lscr.io/linuxserver/cura:latest container_name: cura - security_opt: - - seccomp:unconfined #optional environment: - PUID=1000 - PGID=1000 @@ -218,6 +218,7 @@ services: ports: - 3000:3000 - 3001:3001 + shm_size: "1gb" restart: unless-stopped ``` @@ -226,13 +227,13 @@ services: ```bash docker run -d \ --name=cura \ - --security-opt seccomp=unconfined `#optional` \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Etc/UTC \ -p 3000:3000 \ -p 3001:3001 \ -v /path/to/config:/config \ + --shm-size="1gb" \ --restart unless-stopped \ lscr.io/linuxserver/cura:latest ``` @@ -266,7 +267,7 @@ Containers are configured using parameters passed at runtime (such as those abov | Parameter | Function | | :-----: | --- | -| `--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. | +| `--shm-size=` | Recommended for all desktop images. | ## Environment variables from files (Docker secrets)