This repository provides Dockerfiles for use with CentOS. Popular implementations here will be published to the CentOS namespace in the docker index.
Each Dockerfile should contain a README that includes the following:
- Version of CentOS and Docker that it was built/tested against
- Instructions for building the Docker image
- Instructions for running the image, including examples for persistent data, port mapping, etc.
- Examples for testing and/or validating the functionality of the image.
- Do not include executable scripts. Provide them and mark them as executable in the Dockerfile
- If creating a container for a specific language, specify the version of that language.
- If yum is used during the build process, run a clean afterwards to reduce the image size.