Show Table of Contents
Chapter 5. Extending Existing Container Images
To extend a functionality of a container image provided by Red Hat:
- Set environment variables or use OpenShift secrets.
- If the desired changes cannot be achieved that way, build a new container on top of the provided container image. Write a custom Dockerfile and use the original container in the FROM clause. See the example described in the Knowledgebase article How to Extend the rhscl/mariadb-101-rhel7 Container Image.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.