The ZAP Scan runs by default without resource limits, which means that all available memory can be consumed.
Recommendation: Adjust the documentation to reduce memory usage, and/or implement this in the sample scripts as well.
This works:
docker run --rm --memory=8g etc..
The ZAP Scan runs by default without resource limits, which means that all available memory can be consumed. Recommendation: Adjust the documentation to reduce memory usage, and/or implement this in the sample scripts as well. This works: docker run --rm --memory=8g etc..
Docker documentation: https://docs.docker.com/config/containers/resource_constraints/