I've mounted the sockets to my Jenkins container. I've also edit the docker image of openshift/jenkins so I'm able to be root. Because otherwise I'm not able to use Docker.
But I still have a problem: docker -h (works) docker ps (doesn't work): + docker ps Get http:///var/run/docker.sock/v1.20/containers/json: dial unix /var/run/docker.sock: permission denied. * Are you trying to connect to a TLS-enabled daemon without TLS? * Is your docker daemon up and running? Build step 'Execute shell' marked build as failure When I just run the image on docker (without openshift) it works to perform docker ps. I use --privileged=true -t -i. When I try to run the container without privileged it's not possible to perform the 'docker ps'. So the same issue as in my OpenShift. How and which service account do I have to change to let it work?
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
