A jenkins capable of running docker agents using docker engine of host.
196
Jenkins can be run easily when installed on host without docker. But when jenkins is used inside a docker container we don't want to create a docker inside docker so we choose to use docker from the host. So for this spin the container from this docker image mounting the host /var/run/docker.sock in the container.
Run this command to spin the container
docker run -p 8080:8080 -p 50000:50000 -v /var/run/docker.sock:/var/run/docker.sock --name jenkins fristonio/jenkins_docker:v1
Here is the link to the Dockerfile for the same https://github.com/fristonio/Dockerfiles/blob/master/jenkins-docker/Dockerfile
Content type
Image
Digest
Size
445 MB
Last updated
over 8 years ago
docker pull fristonio/jenkins_docker:v1