Running Docker builds from Jenkins in a container
This post shows how to add the Docker CLI to a Jenkins image and mount the Docker socket so Jenkins pipelines can run Docker commands. The The post includes a Dockerfile and commands for building and starting the image.