SonarScanner Cann't Build on Jenkin Docker

I use sonarscan for code analysis on pineline jenkin on container cann’t
use dotnet on shell script display error on screen, I need help resolving this issue

Taking SonarQube out of the equation for a moment, are you able to successfully build your .NET application in Jenkins (using dotnet build – but ignoring anything baout SonarScanner.MSBuild.dll`)?

I would make sure you can do that first, and then add in the SonarQube analysis.

And, as mentioned in the template post, make sure to mention what version of SonarQube you’re using.

I have problem use sonarqube on jenkin container but sonarscanner dotnet not found
but jenkin it’use .net sdk for build .net core sucess.