I use the following command to perform the test.
1 - docker run -v /opt/zap/automation:/zap/wrk/:rw -dt --name owasp owasp/zap2docker-stable /bin/bash
2 - docker exec owasp zap.sh -cmd -autorun /zap/wrk/zap_auto.yaml
However, the second step encountered an error. The following is a clip that indicates the error.
Job passiveScan-wait started
Job passiveScan-wait finished
Job report started
Job report failed to generate report: /report.html
Job report finished
Automation plan failures:
Job report failed to generate report: /report.html
How can I make the program execute correctly?