Jenkins official image with Docker client added. Implement calling the host machine's Docker daemon API.
Provide a docker-compose file for reference.
services:
jenkins:
image: shancw/jenkins-with-docker:latest
container_name: jenkins
privileged: true
user: root
restart: unless-stopped
ports:
- 50001:8080
- 50000:5000
volumes:
- ./jenkins_conf:/var/jenkins_home
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
Content type
Image
Digest
sha256:5f7de2922…
Size
432.7 MB
Last updated
about 1 year ago
docker pull shancw/jenkins-with-docker