Running "docker" commands inside OpenShift container
Issue
- I need to run few
docker
commands inside a container - I installed
docker
using belowdockerfile
but cannot execute any docker commands
FROM registry.access.redhat.com/rhel7
USER 0
COPY redhat_extras.repo /etc/yum.repos.d/redhat_extras.repo
RUN /bin/bash -c "yum install docker -y && yum clean all -y "
Environment
- Red Hat OpenShift Container Platform
- 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.