Open Flo354 opened 5 hours ago
From the permission denied
error, it looks like a file permission problem; specifically, the user ID in the docker container (1337
by default) does not have write access to your $PWD.
You can check this by making $PWD /tmp
, which is writable by everyone, and running the same command:
cp file.bin /tmp/file.bin
cd /tmp
sudo docker run -it --rm -v "$(pwd):/home/appuser" refirmlabs/binwalk -e "file.bin"
You could also instruct docker to use the root user instead, with the -u 0
argument:
sudo docker run -it -u 0 --rm -v "$(pwd):/home/appuser" refirmlabs/binwalk -e "file.bin"
Adjacent issue, solved by sudo su -
on mac, and then running:
# docker run -it -u 0 --rm -v "$(pwd):/home/appuser" refirmlabs/binwalk:version-2.3.4 --run-as=root -Me "BIOS.BIN"
Hello,
The docker image doesn't work with the "-e" argument. It is working perfectly with tag "version-2.3.4"