Closed atikrahman1 closed 2 years ago
Hi there, Docker containers run in an isolated environment, so the reason why the file was not found is because it doesn't exist in the container.
To use a file from the host system, you'll need to map your directory e.g.
docker run -v /home/atikqur/sub.txt:/tmp/sub.txt punksecurity/dnsreaper file --filename /tmp/sub.txt --out stdout
Closing the issue as the answer was in the https://hub.docker.com/r/punksecurity/dnsreaper Readme.
Seems like the --filename function is broken somehow no matter what is says the file not found
docker run punksecurity/dnsreaper --filename sub.txt file --out stdout