Cannot connect to the Docker daemon. Is the docker daemon running on this host?

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: docker
    • None

      Getting the below error while jenkins trigger docker build jobs

      Error:
      ====>
      [docker-jenkins-job] $ /bin/sh -xe /tmp/hudson2951930380198129000.sh
      ++ /usr/bin/docker ps -aq --filter ancestor=myapache_image
      Cannot connect to the Docker daemon. Is the docker daemon running on this host?
      + /usr/bin/docker stop
      docker: "stop" requires a minimum of 1 argument.
      See '/usr/bin/docker-current stop --help'

            Assignee:
            Amit Vashist
            Reporter:
            Amit Vashist
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: