An Azure service that provides customers with a serverless container experience.
Hi, Please check the below common troubleshooting steps and let me know if this helped or not.
- Check the entry point of your Docker container. Ensure it's correctly set up to start the R Plumber API or R Shiny App server.
- Ensure that the Docker container exposes the correct ports. For web services like R Plumber API or R Shiny App, this is typically port 80 or 443 for HTTP/HTTPS traffic.
When creating the container instance, you might need to explicitly specify the port using the --port argument in your az container create command. - Check the health and logs of the container instance. It’s possible the container is starting but then exiting due to an error. Use Azure CLI or Azure Portal to inspect the logs.
Use the command az container logs --resource-group mygroup --name myinstance to view the logs.