Hi, Paraphrasing if you're using docker in docker, then think twice ;). You certainly want to read https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ (blog by the very author of DinD, hence obviously insightful).
Cheers Le 17 sept. 2015 5:21 AM, "Kha Nguyen" <[email protected]> a écrit : > I have a use case where I run Jenkins inside a container using this Jenkins > official image <https://hub.docker.com/_/jenkins/>. Then I also need > Jenkins to build Docker images, and for that I also run another container, > known as docker-in-docker, with this official image with tag 'dind' > <https://hub.docker.com/_/docker/>. After I have linked the > docker-in-docker container with the Jenkins container, I can successfully > ping the docker-in-docker container using the alias from the Jenkins > container. However, I am unsure about how I can setup docker build for > Jenkins. I installed the Docker build step plugin > <https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+step+plugin>, > which exposes an option to install Docker, and to connect to a Docker > server. I config the install Docker option, and yet `docker` command is not > available. I cannot really connect to the Docker server using the alias and > port 2375. > > Any help is really appreciated. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/b7b25a7e-acf2-458a-aa1e-6f067cd20e4c%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/b7b25a7e-acf2-458a-aa1e-6f067cd20e4c%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7OXBTn%2BFfi6hNS-Y-x0QmnfFCDh65bGu9d4Js7M5%2B%2BjQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
