Hi, check first if openshift jenkins pod using its container engine asweather docker or containerd or something else in your Openshift server. This error indicates docker daemon not running or cannot connect to docker daemon. <systemctl status docker>
<journalctl -u docker.service> <vi /etc/docker/daemon.json> not much idea about openshift docker for me. AMila Devops Eng On Monday, May 31, 2021 at 1:24:46 PM UTC+5:30 [email protected] wrote: > Hi Could you please help. > > On Fri, May 28, 2021 at 11:06 PM anilkumar panditi <[email protected]> > wrote: > >> Hi, >> sorry for asking repeated question, >> Earlier i had worked on a Jenkins instance which is a docker docker >> container which uses the docker inside container like below. >> -v /var/run/docker.sock:/var/run/docker.sock --privileged="true" >> --user="root" >> >> But , my Jenkins instance is running on Openshift as pod ,now and i >> wanted to reuse the same Jenkinsfile which has docker commands , and >> failing with >> *Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is >> the docker daemon running?* >> >> Please help. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/afc6f6ad-63f1-40a0-86d3-24486b0b321dn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/afc6f6ad-63f1-40a0-86d3-24486b0b321dn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/28fb2de5-b8b5-4e60-825e-b83f18da9a79n%40googlegroups.com.
