Skip to content

Commit fddbb2d

Browse files
committed
syntax and readme updates
1 parent 09117e6 commit fddbb2d

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ RUN \
6767
COPY /root /
6868

6969
# ports and volumes
70-
EXPOSE 3000
70+
EXPOSE 3001
7171

7272
VOLUME /config

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ RUN \
6767
COPY /root /
6868

6969
# ports and volumes
70-
EXPOSE 3000
70+
EXPOSE 3001
7171

7272
VOLUME /config

README.md

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

7979
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.
8080

81+
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.
82+
8183
### Options in all Selkies-based GUI containers
8284

8385
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.
@@ -230,6 +232,7 @@ services:
230232
ports:
231233
- 3000:3000
232234
- 3001:3001
235+
shm_size: "1gb"
233236
restart: unless-stopped
234237
```
235238
@@ -245,6 +248,7 @@ docker run -d \
245248
-p 3001:3001 \
246249
-v /path/to/qdirstat/config:/config \
247250
-v /path/to/data:/data \
251+
--shm-size="1gb" \
248252
--restart unless-stopped \
249253
lscr.io/linuxserver/qdirstat:latest
250254
```
@@ -262,6 +266,7 @@ Containers are configured using parameters passed at runtime (such as those abov
262266
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
263267
| `-v /config` | Users home directory in the container, stores qdirstat settings and scans. |
264268
| `-v /data` | Data you want to analyze disk usage information of. |
269+
| `--shm-size=` | Recommended for all desktop images. |
265270

266271
## Environment variables from files (Docker secrets)
267272

readme-vars.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ param_usage_include_ports: true
2323
param_ports:
2424
- {external_port: "3000", internal_port: "3000", port_desc: "QdirStat desktop gui HTTP, must be proxied."}
2525
- {external_port: "3001", internal_port: "3001", port_desc: "QdirStat desktop gui HTTPS."}
26+
custom_params:
27+
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "Recommended for all desktop images."}
2628
# Selkies blurb settings
2729
selkies_blurb: true
2830
show_nvidia: true

0 commit comments

Comments
 (0)