Hello,
For the last couple of days I have been trying to get a Docker container running on Azure. I have a basic Laravel project and am using a basic Dockerfile and Azure pipeline and release pipeline.
The image is successfully pulled but afterwards is not starting. I am getting the following logs:
2021-08-09T17:22:37.829Z INFO - Status: Image is up to date for ******.azurecr.io/app:latest
2021-08-09T17:22:37.832Z INFO - Pull Image successful, Time taken: 0 Minutes and 0 Seconds
2021-08-09T17:22:37.879Z INFO - Starting container for site
2021-08-09T17:22:37.885Z INFO - docker run -d -p 3535:80 --name integration-docker_0_beec5a09 -e DOCKER_CUSTOM_IMAGE_NAME=******.azurecr.io/app:latest -e PORT=80 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITES_PORT=80 -e WEBSITE_SITE_NAME=integration-docker -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=integration-docker.azurewebsites.net -e WEBSITE_INSTANCE_ID=e55efd6783db50fae15b26e5ec67d28845ef537db278e9c1346becd2b2f1a777 -e HTTP_LOGGING_ENABLED=1 ******.azurecr.io/app:latest
2021-08-09T17:22:40.900Z INFO - Initiating warmup request to container integration-docker_0_beec5a09 for site integration-docker
2021-08-09T17:22:41.975Z ERROR - Container integration-docker_0_beec5a09 for site integration-docker has exited, failing site start
2021-08-09T17:22:41.978Z ERROR - Container integration-docker_0_beec5a09 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2021-08-09T17:22:41.985Z INFO - Stopping site integration-docker because it failed during startup.
I also see this error: standard_init_linux.go:219: exec user process caused: exec format error
Help is much appreciated.
Kind regards,
Rik