-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Building A Binwalk Docker Image
devttys0 edited this page Oct 22, 2024
·
7 revisions
Note
The following assumes you are running an Ubuntu, or similar, operating system.
The sudo apt
commands may be different depending on your system.
Install docker:
sudo apt install docker.io
Download binwalk:
sudo apt install git
git clone https://github.com/ReFirmLabs/binwalk
Build the docker image:
cd binwalk
sudo docker build -t binwalkv3 .
Run the binwalkv3
docker container:
sudo docker run -t -v.:/analysis binwalkv3 -Me firmware.bin
Note
The default working directory inside the docker container is /analysis
.
Tip
The default user ID of the docker container is 1000
; if you wish to run with a different user ID (e.g., 1001
):
sudo docker run -t -v.:/analysis -u 1001 binwalkv3 -Me firmware.bin