ShubhamGargCTH / SonarQubeAzureAppService

This repo contains the docker image and run script with modification required to run the sonar qube as an azure app service
0 stars 1 forks source link

Container start failed for sonarqube #1

Open goyalg8 opened 3 years ago

goyalg8 commented 3 years ago

Hi Shubham, I used your dockerfile for sonarqube (8.4.3). but azure app service is not loading this container. can you please help me. I am not sure if something to do with your below dockerfile code:

COPY --chown=sonarqube:sonarqube run.sh sonar.sh ${SONARQUBE_HOME}/bin/

WORKDIR ${SONARQUBE_HOME} EXPOSE 9000 ENTRYPOINT ["bin/run.sh"] CMD ["bin/sonar.sh"]

Thank you Anil

The below error is:

Container start failed for sonarqube-elastic_0_fb33cc09 with System.AggregateException, One or more errors occurred. (Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:370: starting container process caused: exec: \"bin/run.sh\": permission denied: unknown"}

ShubhamGargCTH commented 3 years ago

Hello,

sorry for late response. for 8.x versions you could try the workaround mentioned in below issue:

https://github.com/SonarSource/docker-sonarqube/pull/426#issuecomment-699952462