How to run OWZAP ZAP as a Docker

Kasun de Silva
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-stable

ZAP 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.sh

Then 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 8080

For more details and advance instructions visit: https://github.com/zaproxy/zaproxy/wiki/Docker

Kasun de Silva

Written by

Software Engineer @ Datacom

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade