Runs Wireshark in XPRA so you can attach to it from other systems
1.0K
This runs Wireshark in Xpra so you can attach to it from different systems.
Xpra allows you to use the speed of X-forwarding (a bit faster even) and the detach/attach possibilities of VNC.
To run Wireshark on 'wireserver' listening for xpra-connections on tcp/12345 for clients that want to use it:
docker run -d -p 12345:10000 --name xprawire --cap-add NET_ADMIN garo/xpra-wireshark
Wait a couple of seconds for everything to start...
You can now use xpra on a client to connect to it with: xpra attach tcp:wireserver:12345
If you detach the xpra connection from the client wireshark will continue to run.
Closing Wireshark will also stop the container. With docker start xprawire it will start again.
The environment variable XPRA_PORT is 10000 by default but can be changed to make xpra listen to another port.
You can also use this to run wireshark locally in a container:
docker run -d --net host -e DISPLAY=$DISPLAY --rm --cap-add NET_ADMIN \
-v $HOME/.Xauthority:/root/.Xauthority garo/xpra-wireshark wireshark
Want to improve this (bugfixes, extra features, ...) ?
Fork this repository on GitHub instead of cloning it, I and other users might be interested in your changes !
docker pull garo/xpra-wireshark:latest