What options exist to run Docker-in-Docker (DinD) on OpenShift Container Platform 4?
Issue
- We are using legacy CI/CD systems that require the
/var/run/docker.sockUNIX 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
withContainerorgradle.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.