Jenkins installed via docker cannot run on Azure

I have installed the Jenkins by this command:

`docker run -p 8080:8080 -p 50000:50000 -d -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts`

On Azure Networking , I have added port 8080.
I can see the Jenkins container when I run docker ps with status exited

Does someone know what’s wrong here?

What do the logs say?

those logs say its running just fine.

container status is exited

Googling exit code 137 says it’s out of memory killer in containers.

According to your logs Jenkins starts up successfully.
According to your screenshot it does with exit code 137

I think this is an Azure issue, not something jenkins is doing.

1 Like