解决docker拉取报:Error response from daemon: manifest for jenkins:latest not found
解决docker拉取报:Error response from daemon: manifest for jenkins:latest not found
在 docker pull jenkins 或者 docker pull jenkins:latest 拉取jenkins时提示报错了
[root@centos /]# docker pull jenkins:latest Error response from daemon: manifest for jenkins:latest not found [root@centos /]# docker pull jenkins Using default tag: latest Error response from daemon: manifest for jenkins:latest not found
查了下日志报的也是提示显示未知错误
[root@centos /]# tail /vat/log/message Dec 22 08:56:58 centos dockerd: time="2020-12-22T08:56:58.646886035+08:00" level=info msg="Attempting next endpoint for pull after error: manifest unknown: manifest unknown" Dec 22 08:59:37 centos dockerd: time="2020-12-22T08:59:37.362819270+08:00" level=info msg="Attempting next endpoint for pull after error: manifest unknown: manifest unknown" Dec 22 08:59:48 centos dockerd: time="2020-12-22T08:59:48.951944679+08:00" level=info msg="Attempting next endpoint for pull after error: manifest unknown: manifest unknown"
网上也查了好多资料,说是加速器问题,超时问题等...... 后来才发现jenkins没有latest这个版本,所以才会报这个错误的
解决方法:加版本号去拉取就成功了【 docker pull jenkins:2.60.3(2.60.3换个版本号拉取就行) 】
[root@centos /]# docker pull jenkins:2.60.3 2.60.3: Pulling from library/jenkins 55cbf04beb70: Pull complete 1607093a898c: Pull complete 9a8ea045c926: Pull complete d4eee24d4dac: Pull complete c58988e753d7: Pull complete 794a04897db9: Pull complete 70fcfa476f73: Pull complete 0539c80a02be: Pull complete 54fefc6dcf80: Pull complete 911bc90e47a8: Pull complete 38430d93efed: Pull complete 7e46ccda148a: Pull complete c0cbcb5ac747: Pull complete 35ade7a86a8e: Pull complete aa433a6a56b1: Pull complete 841c1dd38d62: Pull complete b865dcb08714: Pull complete 5a3779030005: Pull complete 12b47c68955c: Pull complete 1322ea3e7bfd: Pull complete Digest: sha256:eeb4850eb65f2d92500e421b430ed1ec58a7ac909e91f518926e02473904f668 Status: Downloaded newer image for jenkins:2.60.3 [root@centos /]# docker run --name myjenkins -p 8080:8080 -p 50000:50000 -v /jenkins/data/jenkins_home:/var/jenkins_home jenkins:2.60.3 [root@centos /]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 37a80dd93416 jenkins:2.60.3 "/bin/tini -- /usr/l…" About a minute ago Up 4 seconds 0.0.0.0:8080->8080/tcp, 0.0.0.0:50000->50000/tcp myjenkins
小小总结可能会解决你的问题,也可能解决不了你的问题,但还是希望对您有所帮助,感谢阅读,如有疑义,欢迎来扰!未完待续…
一直都在努力变好中,希望您也是,加油!
转载请附带原文链接 (https://www.cnblogs.com/lifeng0402/articles/14171780.html),否则追究法律责任,谢谢!