Skip to content

[Discussion] Getting jenkins communication issue with docker daemon #13

@afzal442

Description

@afzal442

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions