Goal: To have Apache start when a Docker container starts running do the following (for Docker containers based on RHEL/CentOS/Fedora).
Prerequisite: The Docker container was created with the “-p 80:80” flag. Other port numbers besides 80 will work. The port numbers do not have to be the same. They can be any number between 1 and 65535. If there is no binding of the Docker host’s TCP ports to the container,
…