Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72485

Cannot connect to Docker using docker.sock (docker-java)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • docker-java-api-plugin
    • None

      Today (2024-01-03), we have installed every available updates on our self-hosted Jenkins running in a Docker container, with network namespaces. After restarting the instance, all pipelines stopped working. In the logs (attached to this issue), the HTTP client is replacing /var/run/docker.sock with localhost:2375, which does not work. We are not able to downgrade the version (it is shown grayed out).

      TCP connexion with certificates to the Docker daemon works fine.

      This issue has already been mentioned in docker-java repository for other projects : https://github.com/docker-java/docker-java/issues/2290

      Is it possible to temporarily downgrade the version of docker-java to a version that was working, and then upgrade it when a fix will be available ?

            ericcitaire Eric Citaire
            mindstan Gaëtan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: