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
@@ -78,6 +78,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and
78
78
79
79
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.
80
80
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
+
81
83
### Options in all Selkies-based GUI containers
82
84
83
85
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.
@@ -185,8 +187,6 @@ services:
185
187
sqlitebrowser:
186
188
image: lscr.io/linuxserver/sqlitebrowser:latest
187
189
container_name: sqlitebrowser
188
-
security_opt:
189
-
- seccomp:unconfined #optional
190
190
environment:
191
191
- PUID=1000
192
192
- PGID=1000
@@ -196,6 +196,7 @@ services:
196
196
ports:
197
197
- 3000:3000
198
198
- 3001:3001
199
+
shm_size: "1gb"
199
200
restart: unless-stopped
200
201
```
201
202
@@ -204,13 +205,13 @@ services:
204
205
```bash
205
206
docker run -d \
206
207
--name=sqlitebrowser \
207
-
--security-opt seccomp=unconfined `#optional` \
208
208
-e PUID=1000 \
209
209
-e PGID=1000 \
210
210
-e TZ=Etc/UTC \
211
211
-p 3000:3000 \
212
212
-p 3001:3001 \
213
213
-v /path/to/config:/config \
214
+
--shm-size="1gb" \
214
215
--restart unless-stopped \
215
216
lscr.io/linuxserver/sqlitebrowser:latest
216
217
```
@@ -227,7 +228,7 @@ Containers are configured using parameters passed at runtime (such as those abov
227
228
|`-e PGID=1000`| for GroupID - see below for explanation |
228
229
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
229
230
|`-v /config`| Users home directory in the container, stores program settings and potentially dump files. |
230
-
|`--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. |
231
+
|`--shm-size=`|Recommended for all desktop images. |
231
232
232
233
## Environment variables from files (Docker secrets)
Copy file name to clipboardExpand all lines: readme-vars.yml
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17,19 +17,15 @@ development_versions: false
17
17
# container parameters
18
18
common_param_env_vars_enabled: true
19
19
param_container_name: "{{ project_name }}"
20
-
param_usage_include_env: true
21
-
param_env_vars:
22
-
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
23
20
param_usage_include_vols: true
24
21
param_volumes:
25
22
- {vol_path: "/config", vol_host_path: "/path/to/config", desc: "Users home directory in the container, stores program settings and potentially dump files."}
26
23
param_usage_include_ports: true
27
24
param_ports:
28
25
- {external_port: "3000", internal_port: "3000", port_desc: "Sqlitebrowser desktop gui HTTP, must be proxied."}
- {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