Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ...

like image 715
kuroi_karasu Avatar asked May 31 '21 07:05

kuroi_karasu


People also ask

Why do my Docker pulls fail when using token authentication?

If we disable the ' Enable Token Authentication ' option in Artifactory's remote docker repository then the docker pulls will fail. For example, as regards the following Centos image, when you perform a Docker pull: 20190306113853|2242|REQUEST|127.0.0.1|anonymous|GET|/api/docker/docker/v2/centos/manifests/latest|HTTP/1.1|404|0

Why can’t I pull a specific Docker image?

The particular docker image you are trying to pull does not exist. How is that possible? There could be several reasons for that. You made a typo while using a specific tag or version of the Docker image. For example, if it is version 20.04 and you typed 20.4, it will not find the image.

How do I find the most recent version of a docker?

To find the ‘most recent’ - just go to docker and look at the tags… an pull by the one you need. Not saying this answers everyone’s problem, but it made a whole lot of sense in the round! I hope your error is resolved. But for many who are trying to pull the image from the docker hub. The issue is that you haven’t pushed anything to that repo.

What happened to the Jenkins image?

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


4 Answers

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

like image 197
Altaf Avatar answered Oct 17 '22 15:10

Altaf


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

like image 26
heiwa Avatar answered Oct 17 '22 15:10

heiwa


docker pull jenkins

Will not work as it is deprecated.

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

docker pull  jenkins/jenkins:lts
like image 6
Tejas Niturkar Avatar answered Oct 17 '22 17:10

Tejas Niturkar


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
like image 5
Abd Abughazaleh Avatar answered Oct 17 '22 17:10

Abd Abughazaleh