Docker Community Forums

Share and learn in the Docker community.

Containerize Apache and Django Application using Docker on RHEL/Centos 7


Can anyone help how to create a network container with apache and Django application.
Im new to Docker, i tried with simple HTTPD configuration.

My goal is to Containerize Apache and django app with SSL enabled in a container. Please let know any suggestions.

FROM rhscl/httpd-24-rhel7
MAINTAINER serverworld
RUN yum -y install httpd mod_ssl
RUN echo “Hello DockerFile” > /var/www/html/index.html
ENTRYPOINT ["/usr/sbin/httpd"]