Skip to content

Instantly share code, notes, and snippets.

@MahefaAbel
Last active December 7, 2021 19:55
Show Gist options
  • Save MahefaAbel/a920d2e33c910b3f5b7a0f38b22905cc to your computer and use it in GitHub Desktop.
Save MahefaAbel/a920d2e33c910b3f5b7a0f38b22905cc to your computer and use it in GitHub Desktop.
docker.memo.sh
docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 -v sonarqube:/opt/sonarqube/data sonarqube
docker run -d -u zap -i owasp/zap2docker-stable zap.sh -p 8090:8090
docker run -i owasp/zap2docker-stable zap-cli quick-scan --self-contained --start-options '-config api.disablekey=true' http://localhost
docker run -d -u zap -p 8080:8080 -p 8090:8090 -i owasp/zap2docker-stable zap-webswing.sh
http://localhost:8080/zap
docker start sonarqube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment