Hi @ferily7,
when you are configuring the sonar.host.url
to something like localhost and working with containers this will resolve to localhost in the scanner-cli container and not your sonarqube host. try to configure a public ip of the FQDN (Fully qualified domain name) of your sonarqube instance.
hope that helps