Update:
I provisioned a VM on cloud and now the container is connected to Internet. The below ones that cannot connect to Internet are hosted in VMs provisioned on hyper-v of local machines. From: Alex Sun [mailto:suen...@gmail.com] Sent: Wednesday, September 21, 2016 3:43 PM To: jenkinsci-users@googlegroups.com Subject: RE: Jenkins in container is offline Merging thread… Both host and docker are latest version. From: bmat...@gmail.com <mailto:bmat...@gmail.com> [mailto:bmat...@gmail.com] On Behalf Of Baptiste Mathus Sent: Wednesday, September 21, 2016 1:36 PM To: Hung Suen <suen...@gmail.com <mailto:suen...@gmail.com> >; jenkinsci-users@googlegroups.com <mailto:jenkinsci-users@googlegroups.com> Subject: Re: Jenkins hosted in container is offline (Switching to users ML) That rings an distant old bell to me. Having no network in the container. I think I had that in the past. Something about resolv.conf being handled with the local DNS manager on Ubuntu or something, had to force or override the DNS to let containers have network access. What is your host platform? What is the output of docker info/docker version? From: bmat...@gmail.com <mailto:bmat...@gmail.com> [mailto:bmat...@gmail.com] On Behalf Of Baptiste Mathus Sent: Wednesday, September 21, 2016 2:46 PM To: jenkinsci-users@googlegroups.com <mailto:jenkinsci-users@googlegroups.com> Subject: Re: Jenkins in container is offline @Nicolas please see the other corresponding thread to keep things together. And let's leave that one die. Le 21 sept. 2016 11:25 PM, "nicolas de loof" <nicolas.del...@gmail.com <mailto:nicolas.del...@gmail.com> > a écrit : Try running this : docker run --rm -it jenkins bash jenkins@b2b041c448b1:/$ ping google.com <http://google.com> PING google.com <http://google.com> (172.217.19.142): 56 data bytes 64 bytes from 172.217.19.142 <http://172.217.19.142> : icmp_seq=0 ttl=37 time=0.147 ms 64 bytes from 172.217.19.142 <http://172.217.19.142> : icmp_seq=1 ttl=37 time=0.338 ms ^C--- google.com <http://google.com> ping statistics --- 2016-09-21 22:25 GMT+02:00 Hung Suen <suen...@gmail.com <mailto:suen...@gmail.com> >: I posted the topic to Jenkins developers. Should have posted it here. https://groups.google.com/d/topic/jenkinsci-dev/LCPjMbKCmGM/discussion -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com <mailto:jenkinsci-users+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b3c1a12a-f2f7-44ab-9227-9546cd228853%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/b3c1a12a-f2f7-44ab-9227-9546cd228853%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com <mailto:jenkinsci-users+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzmFh31Nwm13nBzHQOZfxRB-a12npV6h2Y3qwA_2Bc%3DcRw%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzmFh31Nwm13nBzHQOZfxRB-a12npV6h2Y3qwA_2Bc%3DcRw%40mail.gmail.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/IV0MjGlTr_8/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com <mailto:jenkinsci-users+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7tKbJ9_U%2Bs4t4z2662eT0WE65NK0cQ%2BYSezJUUVjzHZQ%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7tKbJ9_U%2Bs4t4z2662eT0WE65NK0cQ%2BYSezJUUVjzHZQ%40mail.gmail.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/007501d2145c%24b24c0940%2416e41bc0%24%40gmail.com. For more options, visit https://groups.google.com/d/optout.