Thank you for this awesome set of articles. I've been using it to get my own CICD up. I did deviate a little from your set of articles, and added blue ocean. I'm however getting some issues where jenkins cant see docker. Do you perhaps know how to get past it?
This is the issue I'm seeing.
+ docker pull lts-alpine
Usingdefault tag: latest
Got permission denied while trying toconnectto the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/create?fromImage=lts-alpine&tag=latest: dial unix /var/run/docker.sock: connect: permission denied
script returned exit code 1
I have tried a few different articles suggested routes, but I'm not sure if I did it right or wrong / the solutions aren't correct for this use case?
Thank you that makes a lot of sense. To be honest, I don't know what my jenkins user is. I used your article as per above. (WHich I dont think specifies how to give jenkins a user?) If I had to guess, I'm getting the idea the service is running as root?
Thank you for this awesome set of articles. I've been using it to get my own CICD up. I did deviate a little from your set of articles, and added blue ocean. I'm however getting some issues where jenkins cant see docker. Do you perhaps know how to get past it?
This is the issue I'm seeing.
+ docker pull lts-alpine Using default tag: latest Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/create?fromImage=lts-alpine&tag=latest: dial unix /var/run/docker.sock: connect: permission denied script returned exit code 1I have tried a few different articles suggested routes, but I'm not sure if I did it right or wrong / the solutions aren't correct for this use case?