Add Dockerfile for containerized tshark#1
Draft
barnabasbusa wants to merge 5 commits intoethp2p:mainfrom
Draft
Conversation
Packages tshark with all Lua dissector plugins pre-installed in the Wireshark plugin directory so they auto-load without -X flags. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The global Lua plugins path differs per architecture (x86_64-linux-gnu vs aarch64-linux-gnu). Use the personal plugin path (~/.local/lib/wireshark/plugins) which works on all architectures. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Switches from debian:bookworm-slim + tshark to linuxserver/wireshark which provides the full Wireshark GUI accessible via web browser (KasmVNC on port 3000). Plugins are installed to the personal plugin directory at /config/.local/lib/wireshark/plugins/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace linuxserver/wireshark with a custom image using Xvfb + x11vnc + noVNC + openbox to serve full Wireshark GUI via web browser on port 3000. This avoids the s6-overlay PID 1 requirement that is incompatible with container orchestrators like Kurtosis. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Redirect index.html to vnc_lite.html with autoconnect=true so users see Wireshark immediately without clicking "Connect". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
debian:bookworm-slimwithtsharkand all Lua dissector plugins pre-installed-X lua_script:flags.dockerignoreto keep the image lean (excludes test-data, docs, etc.)Usage
docker build -t wireshark-dissectors . docker run --rm -v /path/to/captures:/data wireshark-dissectors \ -r /data/capture.pcap \ -o tls.keylog_file:/data/keys.log \ -d udp.port==13001,quicTest plan
🤖 Generated with Claude Code