mirror of
https://github.com/linuxserver/docker-documentation.git
synced 2026-02-19 18:14:15 +08:00
Bot Updating Documentation
This commit is contained in:
parent
7754155d4c
commit
b417037c6f
@ -233,8 +233,6 @@ services:
|
||||
boinc:
|
||||
image: lscr.io/linuxserver/boinc:latest
|
||||
container_name: boinc
|
||||
security_opt:
|
||||
- seccomp:unconfined #optional
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
@ -247,6 +245,7 @@ services:
|
||||
- 8181:8181
|
||||
devices:
|
||||
- /dev/dri:/dev/dri #optional
|
||||
shm_size: "1gb"
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
@ -255,7 +254,6 @@ services:
|
||||
```bash
|
||||
docker run -d \
|
||||
--name=boinc \
|
||||
--security-opt seccomp=unconfined `#optional` \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Etc/UTC \
|
||||
@ -264,6 +262,7 @@ docker run -d \
|
||||
-p 8181:8181 \
|
||||
-v /path/to/boinc/config:/config \
|
||||
--device /dev/dri:/dev/dri `#optional` \
|
||||
--shm-size="1gb" \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/boinc:latest
|
||||
```
|
||||
@ -304,7 +303,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 as syscalls are unkown to Docker. |
|
||||
| `--shm-size=` | Recommended for all desktop images. |
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user