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: docs/images/docker-chromium.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and
70
70
71
71
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.
72
72
73
+
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.
74
+
73
75
### Options in all Selkies-based GUI containers
74
76
75
77
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.
@@ -214,8 +216,6 @@ services:
214
216
chromium:
215
217
image: lscr.io/linuxserver/chromium:latest
216
218
container_name: chromium
217
-
security_opt:
218
-
- seccomp:unconfined #optional
219
219
environment:
220
220
- PUID=1000
221
221
- PGID=1000
@@ -235,7 +235,6 @@ services:
235
235
```bash
236
236
docker run -d \
237
237
--name=chromium \
238
-
--security-opt seccomp=unconfined `#optional` \
239
238
-e PUID=1000 \
240
239
-e PGID=1000 \
241
240
-e TZ=Etc/UTC \
@@ -279,7 +278,6 @@ Containers are configured using parameters passed at runtime (such as those abov
279
278
| Parameter | Function |
280
279
| :-----: | --- |
281
280
|`--shm-size=`| This is needed for any modern website to function like youtube. |
282
-
|`--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. Chromium runs in no-sandbox test mode without it. |
283
281
284
282
## Environment variables from files (Docker secrets)
285
283
@@ -510,13 +508,14 @@ To help with development, we generate this dependency graph.
0 commit comments