Simple example of how to install Docker inside of Jenkins, mount the socket, and use the entrypoint to give jenkins access to that socket with the docker gid permissions.
docker run -d -v /host/bind/mount:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -p 8000:8000 -p 50000:50000 analbeard/jenkins-docker:tagname
Content type
Image
Digest
Size
323.2 MB
Last updated
almost 6 years ago
docker pull glitchcrab/jenkins-docker