Running as a binary allows you to skip dealing with any container related networking issues and leverage the same network interface that the host machine is using.
methodwebtest apache path traversal --targets https://example.comRunning methodwebtest within a Docker container should typically work similarly to running directly on a host, however, occasionally there are a few things to keep in mind.
If you're running on a Docker container on a MacOS machine and you are trying to scan a locally running service, you can leverage the host.docker.internal address as mentioned in the Docker documentation here.
docker run ghcr.io/method-security/methodwebtest \
apache path traversal --targets https://example.com