Skip to content

KaulSe/jenkins-withdocker

This branch is 7 commits ahead of releaseworks/jenkins-withdocker:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

36da41f · Jun 25, 2020

History

8 Commits
Jun 25, 2020
Apr 3, 2020

Repository files navigation

Jenkins Server

This docker image is a fork from https://github.com/getintodevops/jenkins-withdocker. This image also contains the docker-compose binary and terraform (v. 0.12.23).

You may want to use docker-compose to run this server:

version: '3'

services:
  jenkins:
    image: kaulse/jenkins
    volumes:
      - jenkins_volume:/var/jenkins_home
      - /var/run/docker.sock:/var/run/docker.sock

volumes:
  jenkins_volume:
    external: true

You might get permissions errors with Jenkins and /var/run/docker.sock. I somehow fixed this locally, maybe with chmod (I tried too many ways). I am not sure what the best practice is. I had this permission error also in another project and managed to fix it by adding user: root to the docker-compose file. It might be not the best practice and maybe even a security issue.

About

Jenkins Docker image with Docker binaries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%