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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b7b25a7e-acf2-458a-aa1e-6f067cd20e4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to