Running "docker" commands inside OpenShift container
Issue
- I need to run few
dockercommands inside a container - I installed
dockerusing belowdockerfilebut 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
