Skip to content

Commit

Permalink
🐳 add some comments/message for help
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinivas11789 committed Aug 22, 2019
1 parent db9f144 commit a77618a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
#docker run --rm -d --name pcapxray -e DISPLAY=$IP:0 -v /tmp/.X11-unix:/tmp/.X11-unix srinivas11789/pcapxray
# Run Docker Image - Staging (Develop)
docker run --rm -d --name pcapxray -v ${PWD}/artifacts:/tmp/artifacts -e DISPLAY=$IP:0 -v /tmp/.X11-unix:/tmp/.X11-unix srinivas11789/pcapxray-2_9

echo "XQuartz should be started and incoming connections should be allowed for this to work."
echo "Set the Report to /tmp/artifacts in UI to get reports in the shared directory /artifacts"

#elif [[ "$OSTYPE" == "linux-gnu" ]]; then
else
Expand All @@ -45,6 +46,7 @@ else
#docker run --rm --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" srinivas11789/pcapxray
# Run docker - Staging (Develop)
docker run --rm -d --name pcapxray -v ${PWD}/artifacts:/tmp/artifacts --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" srinivas11789/pcapxray-2_9
echo "Set the Report to /tmp/artifacts in UI to get reports in the shared directory /artifacts"
fi

#else
Expand Down

0 comments on commit a77618a

Please sign in to comment.