'docker: Error response from daemon: manifest for jenkins:latest not found: manifest unknown: manifest unknown

I want run this line:

docker run --name myjenkins1 -v myvoll:/var/jenkins_home -p 8080:8080 -p 50000:50000 jenkins

But result is:

Unable to find image 'jenkins:latest' locally docker: Error response from daemon: manifest for jenkins:latest not found: manifest unknown: manifest unknown. See 'docker run --help'.

How can i solve this ...



Solution 1:[1]

The jenkins image has been deprecated for over 2 years in favor of the jenkins/jenkins:lts image provided and maintained by the Jenkins Community as part of the project's release process.
Use below image:
docker pull jenkins/jenkins
docker run -p 8080:8080 --name=jenkins-master -d jenkins/jenkins

For more info: https://hub.docker.com/r/jenkins/jenkins

Solution 2:[2]

When using new m1 chip macbooks, just pulling the jenkins latest ,will give below error. docker pull jenkins

Using default tag: latest Error response from daemon: manifest for jenkins:latest not found: manifest unknown: manifest unknown

solution : docker pull jenkins/jenkins

Solution 3:[3]

Use : docker run -p 8080:8080 jenkins/jenkins

Use

docker pull jenkins/jenkins

Not

docker pull jenkins

Jenkins will give an error response if you are trying to use the latest tag.

so you can execute your command as the following :

docker run --name myjenkins1 -v myvoll:/var/jenkins_home -p 8080:8080 -p 50000:50000 jenkins/jenkins

Solution 4:[4]

docker pull jenkins

Will not work as it is deprecated.

DEPRECATED; use "jenkins/jenkins:lts" instead use

docker pull  jenkins/jenkins:lts

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Altaf
Solution 2 heiwa
Solution 3 Abd Abughazaleh
Solution 4 Tejas Niturkar