방화벽 해제로 해결함.
- 오류 화면 : http://192.168.31.100:9000/pluginManager/

- 오류 로그 (docker container logs -t -f jenkins)
2020-06-10T04:26:04.338318516Z 2020-06-10 04:26:04.332+0000 [id=61] INFO hudson.util.Retrier#start: Calling the listener of the allowed exception 'updates.jenkins-ci.org' at the attempt #1 to do the action check updates server
2020-06-10T04:26:04.338320820Z 2020-06-10 04:26:04.332+0000 [id=61] INFO hudson.util.Retrier#start: Attempted the action check updates server for 1 time(s) with no success
2020-06-10T04:26:04.338323008Z 2020-06-10 04:26:04.333+0000 [id=61] SEVERE hudson.PluginManager#doCheckUpdatesServer: Error checking update sites for 1 attempt(s). Last exception was: UnknownHostException: updates.jenkins-ci.org
2020-06-10T04:27:45.055334679Z 2020-06-10 04:27:45.048+0000 [id=14] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server
2020-06-10T04:27:45.061795723Z 2020-06-10 04:27:45.054+0000 [id=14] INFO hudson.util.Retrier#start: The attempt #1 to do the action check updates server failed with an allowed exception:
2020-06-10T04:27:45.061827451Z java.net.UnknownHostException: updates.jenkins-ci.org
2020-06-10T04:27:45.061840841Z at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
2020-06-10T04:27:45.061845318Z at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
2020-06-10T04:27:45.061848126Z at java.net.Socket.connect(Socket.java:607)
2020-06-10T04:27:45.061851815Z at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
2020-06-10T04:27:45.061854483Z at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
2020-06-10T04:27:45.061857105Z at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
2020-06-10T04:27:45.061859636Z at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
2020-06-10T04:27:45.061862417Z at sun.net.www.http.HttpClient.New(HttpClient.java:339)
2020-06-10T04:27:45.061864915Z at sun.net.www.http.HttpClient.New(HttpClient.java:357)
2020-06-10T04:27:45.061867451Z at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226)
2020-06-10T04:27:45.061870071Z at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
2020-06-10T04:27:45.061872709Z at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
2020-06-10T04:27:45.061875311Z at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)
2020-06-10T04:27:45.061877867Z at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
2020-06-10T04:27:45.061880415Z at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
2020-06-10T04:27:45.061883980Z at hudson.model.DownloadService.loadJSON(DownloadService.java:114)
2020-06-10T04:27:45.061893778Z at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:212)
2020-06-10T04:27:45.061901079Z at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:207)
2020-06-10T04:27:45.061909989Z at hudson.PluginManager.checkUpdatesServer(PluginManager.java:1767)
2020-06-10T04:27:45.061917568Z at hudson.util.Retrier.start(Retrier.java:63)
2020-06-10T04:27:45.061920341Z at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1738)
2020-06-10T04:27:45.061922810Z at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
2020-06-10T04:27:45.061925366Z at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
2020-06-10T04:27:45.061927874Z at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
2020-06-10T04:27:45.061930397Z at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
2020-06-10T04:27:45.061940196Z at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
2020-06-10T04:27:45.061943098Z at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
2020-06-10T04:27:45.061945622Z at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
2020-06-10T04:27:45.061948148Z at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
2020-06-10T04:27:45.061950633Z at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
2020-06-10T04:27:45.061953405Z at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
2020-06-10T04:27:45.061955953Z at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
2020-06-10T04:27:45.061958443Z at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:169)
2020-06-10T04:27:45.061960905Z at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
2020-06-10T04:27:45.061963423Z at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
2020-06-10T04:27:45.061965874Z at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
2020-06-10T04:27:45.061968374Z at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
2020-06-10T04:27:45.061970872Z at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
2020-06-10T04:27:45.061973374Z at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
2020-06-10T04:27:45.061977009Z at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755)
2020-06-10T04:27:45.061986845Z at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
2020-06-10T04:27:45.061993982Z at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
2020-06-10T04:27:45.062002801Z at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
2020-06-10T04:27:45.062010126Z at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
2020-06-10T04:27:45.062012913Z at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)
2020-06-10T04:27:45.062015373Z at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
2020-06-10T04:27:45.062017915Z at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
2020-06-10T04:27:45.062020410Z at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
2020-06-10T04:27:45.062023015Z at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:153)
2020-06-10T04:27:45.062025459Z at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
2020-06-10T04:27:45.062027984Z at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
2020-06-10T04:27:45.062030510Z at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
2020-06-10T04:27:45.062036498Z at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
2020-06-10T04:27:45.062039300Z at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
2020-06-10T04:27:45.062041958Z at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
2020-06-10T04:27:45.062044506Z at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
2020-06-10T04:27:45.062047092Z at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
2020-06-10T04:27:45.062049635Z at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
2020-06-10T04:27:45.062052791Z at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
2020-06-10T04:27:45.062061271Z at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
2020-06-10T04:27:45.062069299Z at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
2020-06-10T04:27:45.062075756Z at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
2020-06-10T04:27:45.062086231Z at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
2020-06-10T04:27:45.062089546Z at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
2020-06-10T04:27:45.062092176Z at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
2020-06-10T04:27:45.062094766Z at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
2020-06-10T04:27:45.062097275Z at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
2020-06-10T04:27:45.062099817Z at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
2020-06-10T04:27:45.062102317Z at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
2020-06-10T04:27:45.062104876Z at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
2020-06-10T04:27:45.062107401Z at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
2020-06-10T04:27:45.062109957Z at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
2020-06-10T04:27:45.062112440Z at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
2020-06-10T04:27:45.062114990Z at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
2020-06-10T04:27:45.062117530Z at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
2020-06-10T04:27:45.062120874Z at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
2020-06-10T04:27:45.062123465Z at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
2020-06-10T04:27:45.062128589Z at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
2020-06-10T04:27:45.062131258Z at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
2020-06-10T04:27:45.062133819Z at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566)
2020-06-10T04:27:45.062136306Z at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
2020-06-10T04:27:45.062138814Z at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
2020-06-10T04:27:45.062141347Z at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
2020-06-10T04:27:45.062143867Z at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
2020-06-10T04:27:45.062146395Z at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300)
2020-06-10T04:27:45.062148928Z at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
2020-06-10T04:27:45.062151455Z at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
2020-06-10T04:27:45.062153940Z at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
2020-06-10T04:27:45.062156521Z at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
2020-06-10T04:27:45.062159143Z at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215)
2020-06-10T04:27:45.062162901Z at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
2020-06-10T04:27:45.062173581Z at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
2020-06-10T04:27:45.062180027Z at org.eclipse.jetty.server.Server.handle(Server.java:500)
2020-06-10T04:27:45.062188889Z at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
2020-06-10T04:27:45.062195668Z at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
2020-06-10T04:27:45.062198279Z at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
2020-06-10T04:27:45.062200770Z at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
2020-06-10T04:27:45.062203265Z at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
2020-06-10T04:27:45.062205776Z at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
2020-06-10T04:27:45.062208252Z at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
2020-06-10T04:27:45.062211323Z at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
2020-06-10T04:27:45.062213955Z at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
2020-06-10T04:27:45.062216540Z at java.lang.Thread.run(Thread.java:748)
2020-06-10T04:27:45.062229621Z 2020-06-10 04:27:45.056+0000 [id=14] INFO hudson.util.Retrier#start: Calling the listener of the allowed exception 'updates.jenkins-ci.org' at the attempt #1 to do the action check updates server
2020-06-10T04:27:45.062233518Z 2020-06-10 04:27:45.056+0000 [id=14] INFO hudson.util.Retrier#start: Attempted the action check updates server for 1 time(s) with no success
2020-06-10T04:27:45.062236455Z 2020-06-10 04:27:45.056+0000 [id=14] SEVERE hudson.PluginManager#doCheckUpdatesServer: Error checking update sites for 1 attempt(s). Last exception was: UnknownHostException: updates.jenkins-ci.org
'IT > Jenkins' 카테고리의 다른 글
[Jenkins] 도커(Docker)에서 젠킨스 설치 (0) | 2020.06.10 |
---|
[Jenkins] 도커(Docker)에서 젠킨스 설치
os : centos8
https://hub.docker.com/_/jenkins/
jenkins - Docker Hub
DEPRECATION NOTICE This image has been deprecated in favor of the jenkins/jenkins:lts image provided and maintained by Jenkins Community as part of project's release process. The images found here will receive no further updates after LTS 2.60.x. Please ad
hub.docker.com
1. Jenkins 이미지 다운로드
- docker pull jenkins/jenkins
[root@localhost ~]# docker pull jenkins/jenkins
Using default tag: latest
latest: Pulling from jenkins/jenkins
3192219afd04: Pull complete
17c160265e75: Pull complete
cc4fe40d0e61: Pull complete
9d647f502a07: Pull complete
d108b8c498aa: Pull complete
1bfe918b8aa5: Pull complete
dafa1a7c0751: Pull complete
b2d02276dac1: Pull complete
2c0d0c8c3efd: Pull complete
96361a673333: Pull complete
81c6f1bc405d: Pull complete
0a46f33b1b25: Pull complete
30eaf72640cc: Pull complete
f4b226e89c35: Pull complete
bb775209c68a: Pull complete
27df1ec63d52: Pull complete
229f7473962e: Pull complete
afd6ff4cc063: Pull complete
c69f789a4a12: Pull complete
Digest: sha256:3ee4bd15d77fdc7a784efd468f501a03b9baafad7ae3e3f29381af4653bde870
Status: Downloaded newer image for jenkins/jenkins:latest
2. Jenkins 이미지 조회
- docker images
[root@localhost ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
jenkins/jenkins latest 6328c71fe374 33 hours ago 659MB
centos latest 470671670cac 4 months ago 237MB
hello-world latest bf756fb1ae65 5 months ago 13.3kB
3. Jenkins 컨테이너 실행
- ex : docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins
[root@localhost ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@localhost ~]# docker run -d -p 9000:8080 -p 50000:50000 -v /jenkins:/var/jenkins_home --name jenkins -u root jenkins/jenkins
35daffa4efd0a03a2c85090453f8302dc0b4f4df478df9a7df6e8f62d3e0a92d
[root@localhost ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
35daffa4efd0 jenkins/jenkins "/sbin/tini -- /usr/…" 18 seconds ago Up 16 seconds 0.0.0.0:50000->50000/tcp, 0.0.0.0:9000->8080/tcp jenkins
[root@localhost ~]#
4. Jenkins 로그인

- 로그인 패스워드 조회
[root@localhost /]# docker exec -it jenkins cat /var/jenkins_home/secrets/initialAdminPassword
b534bce2d0eb4ade8f4563c96dae446e
- 로그인

'IT > Jenkins' 카테고리의 다른 글
[Jenkins]젠킨스 오류. java.net.UnknownHostException: updates.jenkins-ci.org (0) | 2020.06.10 |
---|