evilsocket / dnssearch

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

Changed CMD to ENTRYPOINT #10

Closed Ucnt closed 7 years ago

Ucnt commented 7 years ago

Changed to ENTRYPOINT instead of CMD. After build and run, with CMD, 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

Ucnt commented 7 years ago

This is also noted in Issue #9