Skip to content

Commit

Permalink
add wireshark
Browse files Browse the repository at this point in the history
  • Loading branch information
infoslack committed Jul 16, 2015
1 parent 0ce4364 commit 09658f5
Show file tree
Hide file tree
Showing 4 changed files with 652 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .docker_func
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,15 @@ metasploit(){
--name metasploit \
infoslack/metasploit
}

wireshark(){
del_stopped wireshark

docker run -d \
--name wireshark \
--net=host --privileged \
-e DISPLAY=unix$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/.docker-volumes/wireshark/pcap:/pcap \
wireshark
}
16 changes: 16 additions & 0 deletions wireshark/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM debian:jessie

MAINTAINER Daniel Romero <infoslack@gmail.com>

ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y wireshark && \
rm -rf /var/lib/apt/lists/*

RUN dbus-uuidgen > /etc/machine-id
COPY init.lua /usr/share/wireshark/init.lua

RUN ldconfig
RUN mkdir /pcap

CMD ["wireshark"]
14 changes: 14 additions & 0 deletions wireshark/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
wireshark
=========

Docker image for [Wireshark](https://www.wireshark.org/)

Usage:
```
$ docker run -d \
--net=host --privileged \
-e DISPLAY=unix$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $(pwd)/pcap:/pcap \
infoslack/wireshark
```
Loading

0 comments on commit 09658f5

Please sign in to comment.