What options exist to run Docker-in-Docker (DinD) on OpenShift Container Platform 4?

Solution Verified - Updated -

Issue

  • We are using legacy CI/CD systems that require the /var/run/docker.sock UNIX socket to be present into pods running jobs or workers.
  • We previously had an environment such as OpenShift 3 or another Kubernetes vendor that used Docker as a container engine which we passed the host's Docker socket into these jobs.
  • As Red Hat OpenShift Container Platform 4 does not use the Docker container engine, what options are available for migrating our existing CI/CD platforms that require access to a Docker socket to function?

Environment

  • Red Hat OpenShift Container Platform 4
  • Docker-in-Docker (DinD) reliant CI/CD system such as Jenkins withContainer or gradle.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content