- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.7k
Building A Binwalk Docker Image
        devttys0 edited this page Jul 8, 2025 
        ·
        9 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.ioDownload binwalk:
sudo apt install git
git clone https://github.com/ReFirmLabs/binwalkBuild the docker image:
cd binwalk
sudo ./build_docker.shRun the binwalkv3 docker container:
sudo docker run -t -v "$PWD":/analysis binwalkv3 -Me firmware.binNote
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 "$PWD":/analysis -u 1001 binwalkv3 -Me firmware.bin