evilsocket / dnssearch

A subdomain enumeration tool.
GNU General Public License v3.0
894 stars 137 forks source link

Use ENTRYPOINT instead of CMD in Dockerfile #9

Closed Ucnt closed 7 years ago

Ucnt commented 7 years ago

AWESOME work! Thanks!

Might be good to use ENTRYPOINT instead of CMD in the dockerfile. After build and run, as shown, below is what occurs:

docker run -it --rm dnssearch -domain google.com docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"-domain\": executable file not found in $PATH".

When changed to 'ENTRYPOINT ["/app/dnssearch"]' the below commands work:

docker run -it --rm dnssearch -domain google.com

docker run -it --rm dnssearch -domain google.com -consumers 10

DavidWittman commented 7 years ago

This was closed by #10