25

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

Peter Csala
  • 17,736
  • 16
  • 35
  • 75
kuroi_karasu
  • 263
  • 1
  • 3
  • 6

7 Answers7

66

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

Altaf
  • 2,838
  • 1
  • 16
  • 8
10
docker pull jenkins

Will not work as it is deprecated.

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

docker pull  jenkins/jenkins:lts
Tejas Niturkar
  • 181
  • 2
  • 3
  • That one works. In Docker hub says: ``` This 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. The images found here have not received updates for over 2 years and will not receive any updates in the future. Remaining tags are here only for historical reasons, none of them are supported and none of them should be used.``` – NsaNinja Aug 08 '22 at 20:08
8

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
Abd Abughazaleh
  • 4,615
  • 3
  • 44
  • 53
4

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.

Soulduck
  • 569
  • 1
  • 6
  • 17
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

heiwa
  • 41
  • 3
0

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

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 04 '22 at 07:10
0

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

  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jan 27 '23 at 15:44