Connecting to docker.sock in OpenShift

Solution Verified - Updated -

Issue

  • Can I connect to the Docker daemon by accessing /var/run/docker.sock in OpenShift?
  • Error showing:

    Invalid Docker configuration (API: 'v1.35' / Endpoint: 'unix:///var/run/docker.sock') and/or unable to contact the service. Is Docker running?`
    

Environment

OpenShift 3.x+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In