Jenkins Docker Plugin cannot connect to Docker server host urlHow to get a Docker container's IP address from the host?Where are Docker images stored on the host machine?Copying files from Docker container to hostCopying files from host to Docker containerHow to copy Docker images from one host to another without using a repositoryFrom inside of a Docker container, how do I connect to the localhost of the machine?unable to start docker after upgrading to 1.12 versionJenkins Docker Plugin does not seem to be provisioning slave containers for Jenkins buildsConfiguring Docker host in jenkinsDocker on Jenkins Master to be accessed by Jenkins slave

Synaptic Static - when to roll the d6?

How to make all magic-casting innate, but still rare?

King or Queen-Which piece is which?

Is using legacy mode instead of UEFI mode a bad thing to do?

In a list with unique pairs A, B, how can I sort them so that the last B is the first A in the next pair?

How "fast" do astronomical events occur?

Is there a polite way to ask about one's ethnicity?

What is that ceiling compartment of a Boeing 737?

How would you explain #1 and #2 below using standard quotes?

Is the author of the Shu"t HaRidvaz the same one as the one known to be the rebbe of the Ariza"l?

Scaling an object to change its key

Is there any way to revive my Sim?

First occurrence in the Sixers sequence

How to ask if I can mow my neighbor's lawn

Setting up the trap

Why is it easier to balance a non-moving bike standing up than sitting down?

Would a 7805 5 V regulator drain a 9 V battery?

Time at 1G acceleration to travel 100 000 light years

How are で and いう being used in this context?

Why does a Force divides equally on a Multiple Support/Legs?

Definition of 'vrit'

Why one uses 了 and the other one doesn’t?

Math symbols in math operators

How did Frodo know where the Bree village was?



Jenkins Docker Plugin cannot connect to Docker server host url


How to get a Docker container's IP address from the host?Where are Docker images stored on the host machine?Copying files from Docker container to hostCopying files from host to Docker containerHow to copy Docker images from one host to another without using a repositoryFrom inside of a Docker container, how do I connect to the localhost of the machine?unable to start docker after upgrading to 1.12 versionJenkins Docker Plugin does not seem to be provisioning slave containers for Jenkins buildsConfiguring Docker host in jenkinsDocker on Jenkins Master to be accessed by Jenkins slave






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















My Environment details as follows,



Jenkins Master Server Details:-



Jenkins Master Host OS – CentOS – 7.6
Jenkins Version - 2.164.1
Jenkins Deployed on Apache Tomcat.
Jenkins Docker Plugin Version – 1.1.6


Docker Server Details:-



Docker Host OS – CentOS – 7.6
Docker Version - 18.09.3, build 774a1f4


Problem: Trying to configure Jenkins Docker plugin on Jenkins getting below errors. On Docker Host /usr/lib/systemd/system/docker.service file added below.



[Service]
Type=notify
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock


Docker Host terminal able to get output for below commands.



curl 100.101.102.103:2375/info
curl -XGET http://100.101.102.103:2375/containers/json


Whereas on Jenkins Web--> Manage Jenkins--> Configure System--> Cloud--> Docker Section connection failing.



enter image description here



Have tried below however not working.



 tcp://0.0.0.0:2375
http://127.0.0.1:2375
tcp://100.101.102.103:2375









share|improve this question
























  • Can you post more details Like: Are Jenkins and Docker deployed on same Host ? What is the private IP for both ? Have you tried using tcp://PrivateIP:2375

    – Shree Tiwari
    Mar 25 at 10:23











  • No. Jenkins running on standalone server and Docker running on another separate standalone server. Yes I have tried with docker server private IP in Jenkins like (tcp://100.101.102.103:2375)

    – Kishore
    Mar 25 at 10:34











  • are you able to ping Server A from Server B and vice versa ?

    – Shree Tiwari
    Mar 25 at 10:39











  • Yes, on Docker host able to ping my Jenkins server private IP and On Jenkins server able to ping my docker private IP.

    – Kishore
    Mar 25 at 10:43











  • It should connect in that case, can you try Reloading your daemon and restart the both the services once.

    – Shree Tiwari
    Mar 25 at 10:47

















1















My Environment details as follows,



Jenkins Master Server Details:-



Jenkins Master Host OS – CentOS – 7.6
Jenkins Version - 2.164.1
Jenkins Deployed on Apache Tomcat.
Jenkins Docker Plugin Version – 1.1.6


Docker Server Details:-



Docker Host OS – CentOS – 7.6
Docker Version - 18.09.3, build 774a1f4


Problem: Trying to configure Jenkins Docker plugin on Jenkins getting below errors. On Docker Host /usr/lib/systemd/system/docker.service file added below.



[Service]
Type=notify
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock


Docker Host terminal able to get output for below commands.



curl 100.101.102.103:2375/info
curl -XGET http://100.101.102.103:2375/containers/json


Whereas on Jenkins Web--> Manage Jenkins--> Configure System--> Cloud--> Docker Section connection failing.



enter image description here



Have tried below however not working.



 tcp://0.0.0.0:2375
http://127.0.0.1:2375
tcp://100.101.102.103:2375









share|improve this question
























  • Can you post more details Like: Are Jenkins and Docker deployed on same Host ? What is the private IP for both ? Have you tried using tcp://PrivateIP:2375

    – Shree Tiwari
    Mar 25 at 10:23











  • No. Jenkins running on standalone server and Docker running on another separate standalone server. Yes I have tried with docker server private IP in Jenkins like (tcp://100.101.102.103:2375)

    – Kishore
    Mar 25 at 10:34











  • are you able to ping Server A from Server B and vice versa ?

    – Shree Tiwari
    Mar 25 at 10:39











  • Yes, on Docker host able to ping my Jenkins server private IP and On Jenkins server able to ping my docker private IP.

    – Kishore
    Mar 25 at 10:43











  • It should connect in that case, can you try Reloading your daemon and restart the both the services once.

    – Shree Tiwari
    Mar 25 at 10:47













1












1








1








My Environment details as follows,



Jenkins Master Server Details:-



Jenkins Master Host OS – CentOS – 7.6
Jenkins Version - 2.164.1
Jenkins Deployed on Apache Tomcat.
Jenkins Docker Plugin Version – 1.1.6


Docker Server Details:-



Docker Host OS – CentOS – 7.6
Docker Version - 18.09.3, build 774a1f4


Problem: Trying to configure Jenkins Docker plugin on Jenkins getting below errors. On Docker Host /usr/lib/systemd/system/docker.service file added below.



[Service]
Type=notify
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock


Docker Host terminal able to get output for below commands.



curl 100.101.102.103:2375/info
curl -XGET http://100.101.102.103:2375/containers/json


Whereas on Jenkins Web--> Manage Jenkins--> Configure System--> Cloud--> Docker Section connection failing.



enter image description here



Have tried below however not working.



 tcp://0.0.0.0:2375
http://127.0.0.1:2375
tcp://100.101.102.103:2375









share|improve this question
















My Environment details as follows,



Jenkins Master Server Details:-



Jenkins Master Host OS – CentOS – 7.6
Jenkins Version - 2.164.1
Jenkins Deployed on Apache Tomcat.
Jenkins Docker Plugin Version – 1.1.6


Docker Server Details:-



Docker Host OS – CentOS – 7.6
Docker Version - 18.09.3, build 774a1f4


Problem: Trying to configure Jenkins Docker plugin on Jenkins getting below errors. On Docker Host /usr/lib/systemd/system/docker.service file added below.



[Service]
Type=notify
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock


Docker Host terminal able to get output for below commands.



curl 100.101.102.103:2375/info
curl -XGET http://100.101.102.103:2375/containers/json


Whereas on Jenkins Web--> Manage Jenkins--> Configure System--> Cloud--> Docker Section connection failing.



enter image description here



Have tried below however not working.



 tcp://0.0.0.0:2375
http://127.0.0.1:2375
tcp://100.101.102.103:2375






docker jenkins






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 15:31







Kishore

















asked Mar 25 at 5:58









KishoreKishore

170414




170414












  • Can you post more details Like: Are Jenkins and Docker deployed on same Host ? What is the private IP for both ? Have you tried using tcp://PrivateIP:2375

    – Shree Tiwari
    Mar 25 at 10:23











  • No. Jenkins running on standalone server and Docker running on another separate standalone server. Yes I have tried with docker server private IP in Jenkins like (tcp://100.101.102.103:2375)

    – Kishore
    Mar 25 at 10:34











  • are you able to ping Server A from Server B and vice versa ?

    – Shree Tiwari
    Mar 25 at 10:39











  • Yes, on Docker host able to ping my Jenkins server private IP and On Jenkins server able to ping my docker private IP.

    – Kishore
    Mar 25 at 10:43











  • It should connect in that case, can you try Reloading your daemon and restart the both the services once.

    – Shree Tiwari
    Mar 25 at 10:47

















  • Can you post more details Like: Are Jenkins and Docker deployed on same Host ? What is the private IP for both ? Have you tried using tcp://PrivateIP:2375

    – Shree Tiwari
    Mar 25 at 10:23











  • No. Jenkins running on standalone server and Docker running on another separate standalone server. Yes I have tried with docker server private IP in Jenkins like (tcp://100.101.102.103:2375)

    – Kishore
    Mar 25 at 10:34











  • are you able to ping Server A from Server B and vice versa ?

    – Shree Tiwari
    Mar 25 at 10:39











  • Yes, on Docker host able to ping my Jenkins server private IP and On Jenkins server able to ping my docker private IP.

    – Kishore
    Mar 25 at 10:43











  • It should connect in that case, can you try Reloading your daemon and restart the both the services once.

    – Shree Tiwari
    Mar 25 at 10:47
















Can you post more details Like: Are Jenkins and Docker deployed on same Host ? What is the private IP for both ? Have you tried using tcp://PrivateIP:2375

– Shree Tiwari
Mar 25 at 10:23





Can you post more details Like: Are Jenkins and Docker deployed on same Host ? What is the private IP for both ? Have you tried using tcp://PrivateIP:2375

– Shree Tiwari
Mar 25 at 10:23













No. Jenkins running on standalone server and Docker running on another separate standalone server. Yes I have tried with docker server private IP in Jenkins like (tcp://100.101.102.103:2375)

– Kishore
Mar 25 at 10:34





No. Jenkins running on standalone server and Docker running on another separate standalone server. Yes I have tried with docker server private IP in Jenkins like (tcp://100.101.102.103:2375)

– Kishore
Mar 25 at 10:34













are you able to ping Server A from Server B and vice versa ?

– Shree Tiwari
Mar 25 at 10:39





are you able to ping Server A from Server B and vice versa ?

– Shree Tiwari
Mar 25 at 10:39













Yes, on Docker host able to ping my Jenkins server private IP and On Jenkins server able to ping my docker private IP.

– Kishore
Mar 25 at 10:43





Yes, on Docker host able to ping my Jenkins server private IP and On Jenkins server able to ping my docker private IP.

– Kishore
Mar 25 at 10:43













It should connect in that case, can you try Reloading your daemon and restart the both the services once.

– Shree Tiwari
Mar 25 at 10:47





It should connect in that case, can you try Reloading your daemon and restart the both the services once.

– Shree Tiwari
Mar 25 at 10:47












1 Answer
1






active

oldest

votes


















0














i have fixed the issue. It was firewall issue. i ran systemctl disable firewalld command and rebooted my CentOS-7(Docker Server). now connection working.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331965%2fjenkins-docker-plugin-cannot-connect-to-docker-server-host-url%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    i have fixed the issue. It was firewall issue. i ran systemctl disable firewalld command and rebooted my CentOS-7(Docker Server). now connection working.






    share|improve this answer



























      0














      i have fixed the issue. It was firewall issue. i ran systemctl disable firewalld command and rebooted my CentOS-7(Docker Server). now connection working.






      share|improve this answer

























        0












        0








        0







        i have fixed the issue. It was firewall issue. i ran systemctl disable firewalld command and rebooted my CentOS-7(Docker Server). now connection working.






        share|improve this answer













        i have fixed the issue. It was firewall issue. i ran systemctl disable firewalld command and rebooted my CentOS-7(Docker Server). now connection working.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 26 at 4:01









        KishoreKishore

        170414




        170414



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331965%2fjenkins-docker-plugin-cannot-connect-to-docker-server-host-url%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해