kuroi_karasu
kuroi_karasu

Reputation: 283

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

Upvotes: 27

Views: 69639

Answers (7)

Navdeep Rana
Navdeep Rana

Reputation: 1

docker pull jenkins/jenkins This works in AWS latest in 2023 without getting any error

Upvotes: 0

Soulduck
Soulduck

Reputation: 615

Type docker search jenkins in the terminal

result

(base) kimseongjung@song-ui-MacBookPro ~ % docker search jenkins
NAME                               DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
jenkins                            DEPRECATED; ***use "jenkins/jenkins:lts" <-※ here!!!!!!!  instead   5548      [OK]       
jenkins/jenkins                    The leading open source automation server       3223                 
jenkins/jnlp-slave                 a Jenkins agent which can connect to Jenkins…   151                  [OK]
jenkins/inbound-agent                            

The message says that jenkins is deprecated and that jenkins/jenkins:lts should be used instead.

typing the code below into the terminal will solve the problem.

docker pull jenkins/jenkins:lts 

thank you.

Upvotes: 6

Gaurav Kumar Verma
Gaurav Kumar Verma

Reputation: 41

You might be running a deprecated code. Use docker compose instead of docker-compose.

Upvotes: 0

Tejas Niturkar
Tejas Niturkar

Reputation: 201

docker pull jenkins

Will not work as it is deprecated.

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

docker pull  jenkins/jenkins:lts

Upvotes: 12

Abd Abughazaleh
Abd Abughazaleh

Reputation: 5535

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

Upvotes: 9

heiwa
heiwa

Reputation: 41

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

Upvotes: 2

Altaf
Altaf

Reputation: 3076

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

Upvotes: 70

Related Questions