You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and
99
99
100
100
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.
101
101
102
+
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.
103
+
102
104
### Options in all Selkies-based GUI containers
103
105
104
106
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.
@@ -206,8 +208,6 @@ services:
206
208
pidgin:
207
209
image: lscr.io/linuxserver/pidgin:latest
208
210
container_name: pidgin
209
-
security_opt:
210
-
- seccomp:unconfined #optional
211
211
environment:
212
212
- PUID=1000
213
213
- PGID=1000
@@ -217,6 +217,7 @@ services:
217
217
ports:
218
218
- 3000:3000
219
219
- 3001:3001
220
+
shm_size: "1gb"
220
221
restart: unless-stopped
221
222
```
222
223
@@ -225,13 +226,13 @@ services:
225
226
```bash
226
227
docker run -d \
227
228
--name=pidgin \
228
-
--security-opt seccomp=unconfined `#optional` \
229
229
-e PUID=1000 \
230
230
-e PGID=1000 \
231
231
-e TZ=Etc/UTC \
232
232
-p 3000:3000 \
233
233
-p 3001:3001 \
234
234
-v /path/to/config:/config \
235
+
--shm-size="1gb" \
235
236
--restart unless-stopped \
236
237
lscr.io/linuxserver/pidgin:latest
237
238
```
@@ -248,7 +249,7 @@ Containers are configured using parameters passed at runtime (such as those abov
248
249
|`-e PGID=1000`| for GroupID - see below for explanation |
249
250
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
250
251
|`-v /config`| Users home directory in the container, stores local files and settings |
251
-
|`--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. |
252
+
|`--shm-size=`|Recommended for all desktop images. |
252
253
253
254
## Environment variables from files (Docker secrets)
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker."}
27
+
custom_params:
28
+
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "Recommended for all desktop images."}
0 commit comments