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-7Lines changed: 5 additions & 7 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.
@@ -220,8 +222,6 @@ services:
220
222
bambustudio:
221
223
image: lscr.io/linuxserver/bambustudio:latest
222
224
container_name: bambustudio
223
-
security_opt:
224
-
- seccomp:unconfined #optional
225
225
environment:
226
226
- PUID=1000
227
227
- PGID=1000
@@ -232,7 +232,7 @@ services:
232
232
ports:
233
233
- 3000:3000
234
234
- 3001:3001
235
-
shm_size: "1gb"#optional
235
+
shm_size: "1gb"
236
236
restart: unless-stopped
237
237
```
238
238
@@ -241,15 +241,14 @@ services:
241
241
```bash
242
242
docker run -d \
243
243
--name=bambustudio \
244
-
--security-opt seccomp=unconfined `#optional` \
245
244
-e PUID=1000 \
246
245
-e PGID=1000 \
247
246
-e TZ=Etc/UTC \
248
247
-e DARK_MODE=true `#optional` \
249
248
-p 3000:3000 \
250
249
-p 3001:3001 \
251
250
-v /path/to/bambustudio/config:/config \
252
-
--shm-size="1gb" `#optional` \
251
+
--shm-size="1gb" \
253
252
--restart unless-stopped \
254
253
lscr.io/linuxserver/bambustudio:latest
255
254
```
@@ -267,8 +266,7 @@ Containers are configured using parameters passed at runtime (such as those abov
267
266
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
268
267
|`-e DARK_MODE=true`| Set this to true to enable dark mode for Bambu Studio. |
269
268
|`-v /config`| Users home directory in the container, stores program settings and files. |
270
-
|`--shm-size=`| We set this to 1 gig to prevent modern applications from crashing. |
271
-
|`--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. |
269
+
|`--shm-size=`| Recommended for all desktop images. |
272
270
273
271
## 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."}
32
-
opt_custom_params:
33
-
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "We set this to 1 gig to prevent modern applications from crashing."}
29
+
custom_params:
30
+
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "Recommended for all desktop images."}
0 commit comments