How to run OWZAP ZAP as a Docker
Feb 23, 2017 · 1 min read
You need to have Docker installed in you computer.
Pull the docker image for the ZAP the stable release:
docker pull owasp/zap2docker-stableZAP GUI in a Browser:
Yes, you can run the ZAP Desktop GUI in a browser. You can use it in just the same way as the Swing UI and can even proxy via it.
docker run -u zap -p 8080:8080 -p 8090:8090 -i owasp/zap2docker-stable zap-webswing.shThen point your browser at http://localhost:8080/?anonym=true&app=ZAP
You will then see the familiar ZAP splash screen while ZAP starts up.

ZAP Headless:
You can also start the ZAP in headless mode with following command:
docker run -u zap -p 8080:8080 -i owasp/zap2docker-stable zap.sh -daemon -host 0.0.0.0 -port 8080For more details and advance instructions visit: https://github.com/zaproxy/zaproxy/wiki/Docker