Are you behind a corporate proxy? Can Internet be reached from your machine, and more specifically from that container?
Cheers 2016-09-21 20:36 GMT+02:00 'Huanhuan Sun' via Jenkins Developers < [email protected]>: > Hi, > > > > I tried to set up a Jenkins container. I pulled the official docker image: > jenkins and create a container off it. The commands I used: > > docker pull jenkins > > docker run -d -p 8090:8080 -t jenkins > > > > I could open the Jenkins dashboard at port 8090 but on the dashboard it > showed Jenkins is offline. I entered bash of this container: > > docker exec -it –user root <container name> bash > > and tried to restart it: > > service jenkins restart > > The output was it cannot find the command jenkins. > > > > Two questions: > > 1. Why is this offline and how to bring it online? > > 2. Is containerized Jenkins different from Linux Jenkins? Why I > cannot use normal jenkins command like restart/start/stop/status? > > > > Thanks a lot, > > Huan > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-dev/MWHPR03MB26051CF398DB445BFE2F4 > E84B4F60%40MWHPR03MB2605.namprd03.prod.outlook.com > <https://groups.google.com/d/msgid/jenkinsci-dev/MWHPR03MB26051CF398DB445BFE2F4E84B4F60%40MWHPR03MB2605.namprd03.prod.outlook.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 Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5zUCYuBa4n_tT_9SAYPAB8RC_b8HafH16mjR2ZeEyGSw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
