File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -233,8 +233,6 @@ services:
233233 boinc :
234234 image : lscr.io/linuxserver/boinc:latest
235235 container_name : boinc
236- security_opt :
237- - seccomp:unconfined # optional
238236 environment :
239237 - PUID=1000
240238 - PGID=1000
@@ -247,6 +245,7 @@ services:
247245 - 8181:8181
248246 devices :
249247 - /dev/dri:/dev/dri # optional
248+ shm_size : " 1gb"
250249 restart : unless-stopped
251250` ` `
252251
@@ -255,7 +254,6 @@ services:
255254` ` ` bash
256255docker run -d \
257256 --name=boinc \
258- --security-opt seccomp=unconfined `#optional` \
259257 -e PUID=1000 \
260258 -e PGID=1000 \
261259 -e TZ=Etc/UTC \
@@ -264,6 +262,7 @@ docker run -d \
264262 -p 8181:8181 \
265263 -v /path/to/boinc/config:/config \
266264 --device /dev/dri:/dev/dri `#optional` \
265+ --shm-size="1gb" \
267266 --restart unless-stopped \
268267 lscr.io/linuxserver/boinc:latest
269268```
@@ -304,7 +303,7 @@ Containers are configured using parameters passed at runtime (such as those abov
304303
305304| Parameter | Function |
306305| :-----: | --- |
307- | ` --security-opt seccomp=unconfined ` | For Docker Engine only, many modern gui apps need this to function as syscalls are unkown to Docker . |
306+ | ` --shm-size= ` | Recommended for all desktop images . |
308307
309308## Environment variables from files (Docker secrets)
310309
You can’t perform that action at this time.
0 commit comments