Hi,
The example of Running SonarScanner from the Docker image no longer shows the sonartoken parameter since 10.2+. It might be interesting to specify how to pass other parameters as reported by @vodoc82730 in this topic.
10.2 Running SonarScanner from the Docker image
docker run \
--rm \
-e SONAR_HOST_URL="http://${SONARQUBE_URL}" \
-e SONAR_SCANNER_OPTS="-Dsonar.projectKey=${YOUR_PROJECT_KEY}" \
-e SONAR_TOKEN="myAuthenticationToken" \
-v "${YOUR_REPO}:/usr/src" \
sonarsource/sonar-scanner-cli
10.6 Running SonarScanner from the Docker image
docker run \
--rm \
-e SONAR_HOST_URL="http://${SONARQUBE_URL}" \
-v "${YOUR_REPO}:/usr/src" \
sonarsource/sonar-scanner-cli