Hi,
I'm trying to setup zap running in docker based on this article.
https://blog.mozilla.org/webqa/2016/05/11/docker-owasp-zap-part-one/I have zap running successfully in headless mode in docker with:
docker run -u zap -p 8090:8090 -d owasp/zap2docker-stable zap.sh -daemon -port 8090 -host 0.0.0.0 -config api.disablekey=true
But when I try to execute scans in command line, it gives me the following:
IOError: [Errno socket error] [Errno 111] Connection refusedI also tried to ran zap-cli only on command line and it gives me:
pkg_resources.DistributionNotFound: The 'python-owasp-zap-v2.4==0.0.8' distribution was not found and is required by zapcliEven though "python-owasp-zap-v2.4-0.0.8" and "...0.0.9" are both in the %PATH%.
I wonder if any of you have encountered the similar errors before.
Thanks