Skip to content

Commit 3153e3c

Browse files
committed
update readme to include shm
1 parent 9856610 commit 3153e3c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ services:
353353
- 8080:8080
354354
- 8181:8181
355355
- 8081:8081
356+
shm_size: "1gb"
356357
restart: unless-stopped
357358
```
358359

@@ -371,6 +372,7 @@ docker run -d \
371372
-p 8181:8181 \
372373
-p 8081:8081 \
373374
-v /path/to/calibre/config:/config \
375+
--shm-size="1gb" \
374376
--restart unless-stopped \
375377
lscr.io/linuxserver/calibre:latest
376378
```
@@ -390,6 +392,7 @@ Containers are configured using parameters passed at runtime (such as those abov
390392
| `-e PASSWORD=` | Optionally set a password for the gui. |
391393
| `-e CLI_ARGS=` | Optionally pass cli start arguments to calibre. |
392394
| `-v /config` | Where calibre should store its database and library. |
395+
| `--shm-size=` | Recommended for all desktop images. |
393396
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function as syscalls are unkown to Docker. |
394397

395398
## Environment variables from files (Docker secrets)

readme-vars.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ opt_param_env_vars:
3636
opt_security_opt_param: true
3737
opt_security_opt_param_vars:
3838
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function as syscalls are unkown to Docker."}
39+
custom_params:
40+
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "Recommended for all desktop images."}
3941
# Selkies blurb settings
4042
selkies_blurb: true
4143
external_http_port: "8080"

0 commit comments

Comments
 (0)