Which version of Openshift are you using? AFAIK Openshift 4 doesn't support use of the Docker socket anymore (or at least not by default)
Richard. On Sat, 29 May 2021 at 05:36, 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/CAAy0hwd_sdse7rjPJYhk0Gq7EajDCzGRu1JWk4%3DHocSLf%2BwpcA%40mail.gmail.com.
