How to make Jenkins-Dood Successfully

Kobkrit Viriyayudhakorn
Kobkrit
Published in
1 min readNov 4, 2018

--

Docker Run

#!/bin/bashdocker run -d -p 49001:8080 -p 50000:50000  -v /var/run/docker.sock:/var/run/docker.sock -v /docker/jenkins:/var/jenkins_home:z -t --name=jenkins --restart=always kobkrit/simple-jenkins-dood

Change the Group ID of the Docker group in the Jenkins Container to be the same with the Group ID of the Docker group in the Host

cat /etc/groupFor example, in Host = 130Change the group id in the /etc/group file in the Jenkins container to the 130.Restart the container to reflect the change.

Install Docker-compose

--

--