Skip to content

Commit

Permalink
Docker images: supports TCP & BT connections
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Dec 18, 2024
1 parent fbf03b9 commit e5bee8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docker/rm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ if [ ! -e docker_conf.inc ]; then
exit 1
fi
. docker_conf.inc
docker rm $(docker ps -aq --filter ancestor="$DOCKER_IMAGE")
CONTAINER=$(docker ps -aq --filter ancestor="$DOCKER_IMAGE")
if [ -n "$CONTAINER" ]; then
docker rm $CONTAINER
fi
docker image rm "$DOCKER_IMAGE"
2 changes: 1 addition & 1 deletion docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ if [ -n "$UART_PORT" ]; then
else
DEV=""
fi
docker run $DEV $DOCKER_PLATFORM --volume="$(pwd)/../..:/home/rrg/proxmark3" -w /home/rrg/proxmark3 -it "$DOCKER_IMAGE"
docker run $DEV $DOCKER_PLATFORM --volume="$(pwd)/../..:/home/rrg/proxmark3" -w /home/rrg/proxmark3 --net=host --rm -it "$DOCKER_IMAGE"

0 comments on commit e5bee8d

Please sign in to comment.