Reputation: 3281
I am using following dockerhub image to setup sonarqube on azure web app as Containers. https://hub.docker.com/layers/sonarqube/library/sonarqube/community/images/sha256- ae28b0e22676abc26256d7eb1360207fb6ca871db3cb46cb73bfe4f9ed804a8b?context=explore
However, I am having trouble getting webapp to start up.In the logs I have an error.
Container didn't respond to HTTP pings on port: 9000, failing site
start. See container logs for debugging.
The image does Expose port 9000
As per MSDN Documentation, I have tried setting Application setting WEBSITES_PORT=9000
The same issue still persists.
Can anyone point to the reason here ? Does azure web app support dockerhub images which expose another port than 80 ?
Upvotes: 1
Views: 311
Reputation: 222722
Try the approach of having the same port you map in docker.
Port:9000
WEBSITES_PORT:9000
Upvotes: 1