Skip to content

Commit 2550ec2

Browse files
Bot Updating Documentation
1 parent 0113b2d commit 2550ec2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/images/docker-wireshark.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and
6363

6464
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.
6565

66+
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.
67+
6668
### Options in all Selkies-based GUI containers
6769

6870
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.
@@ -174,8 +176,6 @@ services:
174176
container_name: wireshark
175177
cap_add:
176178
- NET_ADMIN
177-
security_opt:
178-
- seccomp:unconfined #optional
179179
network_mode: host
180180
environment:
181181
- PUID=1000
@@ -186,6 +186,7 @@ services:
186186
ports:
187187
- 3000:3000 #optional
188188
- 3001:3001 #optional
189+
shm_size: "1gb"
189190
restart: unless-stopped
190191
```
191192
@@ -196,13 +197,13 @@ docker run -d \
196197
--name=wireshark \
197198
--net=host \
198199
--cap-add=NET_ADMIN \
199-
--security-opt seccomp=unconfined `#optional` \
200200
-e PUID=1000 \
201201
-e PGID=1000 \
202202
-e TZ=Etc/UTC \
203203
-p 3000:3000 `#optional` \
204204
-p 3001:3001 `#optional` \
205205
-v /path/to/wireshark/config:/config \
206+
--shm-size="1gb" \
206207
--restart unless-stopped \
207208
lscr.io/linuxserver/wireshark:latest
208209
```
@@ -242,7 +243,7 @@ Containers are configured using parameters passed at runtime (such as those abov
242243

243244
| Parameter | Function |
244245
| :-----: | --- |
245-
| `--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. |
246+
| `--shm-size=` | Recommended for all desktop images. |
246247
| `--cap-add=NET_ADMIN` | Required to allow packet capture. |
247248

248249
### Portainer notice

0 commit comments

Comments
 (0)