docker-pipeline does rely on docker-exec to enter a container an run commands inside it, so the jenkins slave remoting still applies to the hosting node. this was inspired by Docker Custom Build Environment Plugin (aka Oki Docki plugin)
Main benefit is you can run arbitrary docker image, you don't need one created to host a jenkins slave. Typically, you can use an image you use on your own developer workstation to reproduce a specific build environment. But this setup also has some limitations, one of them being you need a local docker daemon on jenkins slave, as it relies on bind mounting project workspace 2016-03-15 16:58 GMT+01:00 <[email protected]>: > Hello, everyone! > > I'm working on the subject about the "Integration of Docker plugins with > Jenkins 2.0 features". I have learned that the Docker-Pipeline Plugin can > run the pipeline steps inside the containers by using Jenkins Slave, but > i'm wondering the interest of running the pipeline steps by depending on > the Docker CLI instead of the Jenkins Slave remoting in the images? > > Thanks, > Guobao > > -- > 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/486afcb3-7a38-45e9-823b-74710dd6e041%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/486afcb3-7a38-45e9-823b-74710dd6e041%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 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/CANMVJzk1GvsHH5%3DiwjaV1NwU0XcqW%3DYYdEPg1m%2BFAQ5giRwP3Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
