/jenkins-with-docker-socket

Official Jenkins image with Docker socket

Primary LanguageDockerfile

jenkins-with-docker-socket

Official Jenkins image with Docker socket

Docker Build Docker Stars Docker Pulls Docker Layers Docker Size Docker Automated

This image was created to be a small layer on top of jenkins:alpine such that it could have access to the host's docker cli (via docker.sock). This image will run using the jenkins user, however it introduces a docker group and sets ownership of the docker.sock to it, additionally it adds the jenkins user to the list of sudoers.

Supported tags and respective Dockerfile links

How to use this image

$ docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 8080:8080 -p 50000:50000 jareddlc/jenkins-with-docker-socket:lts-alpine

For more information and options see official jenkins repo: https://hub.docker.com/_/jenkins/