-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Hi @devopsjourney1! I have hard finding about setting up jenkins
pipeline with docker agent. Since I have followed these steps from the docs here, but when I try to follow the steps from ur video, I am failing to create a label docker
agent.
Is it necessary to install jenkins through docker
to establish connection b/w docker host and jenkins server?
When I skip the docker installation as I have done through kubernetes and follow the docker socket connection like this docker network create jenkins
and docker run -d --restart=always -p 127.0.0.1:2376:2375 --network jenkins -v /var/run/docker.sock:/var/run/docker.sock alpine/socat tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock
, I still fail to make the connection successful. Any thoughts here plz?