Hi Simon,
As I continued working with it, it eventually stopped working - I'm not quite sure what caused it. But since this may have been a problem just on my end and this could potentially help someone else, maybe an addendum in the "Scanning an app running in another Docker container" with something like:
"If you are using a Docker-compose file to run the ZAP service, you can replicate this behavior by adding the 'networks' argument to your ZAP service:
owasp-zap:
image: owasp/zap2docker-stable:latest
container_name: owasp-zap
networks:
- zap-scan
networks:
zap-scan:
name: zap-scan
Make sure that your application service has the same network set up. If you don't want to make your own external network, and it fits your requirements, you can also set your 'network-mode' argument to host:
owasp-zap:
image: owasp/zap2docker-stable:latest
container_name: owasp-zap
Again, make sure that all application-related services have the same network setup, otherwise ZAP will get a 'Connection refused' error."
If this helps, great, if not, no worries! Let me know if providing any more information would help.
Best,
Charles