Description of problem: Fail to do custom build with cusom build template https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-custombuild.json: $ oc logs pods/ruby-sample-build-2-build time="2018-12-12T05:52:11Z" level=error msg="Can't add file /tmp/docker-build-git882518138/.git/logs/refs/heads/master to tar: io: read/write on closed pipe" time="2018-12-12T05:52:11Z" level=error msg="Can't close tar writer: io: read/write on closed pipe" Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Version-Release number of selected component (if applicable): $ bin/openshift-install version bin/openshift-install v0.5.0-master-83-g7328b615d025147569fd66a76c3293440e74545f Terraform v0.11.10 How reproducible: always Steps to Reproduce: 1.oc process -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-custombuild.json | oc create -f - 2.oc get builds 3. Actual results: $ oc get builds NAME TYPE FROM STATUS STARTED DURATION ruby-sample-build-1 Custom Git Failed (GenericBuildFailed) 10 minutes ago 30s ruby-sample-build-2 Custom Git Failed (GenericBuildFailed) 4 minutes ago 3s Expected results: Should be succeed Additional info:
openshift 4.0 nodes do not have docker sockets, thus any custom build that attempts to reference the docker socket will fail. The only custom builds that can work are ones that do not require docker socket access. We are tracking updating the docs/recommendations around this here: https://jira.coreos.com/browse/DEVEXP-138