HTTPD service does not start on container start
Summary
The HTTPD service provided by the container does not run when the container is started. It fails first due to missing certificates, but also due to missing permissions on a variety of files.
Steps to reproduce
docker run -p 8443:8443 [apache2]
(or whatever tag you pulled for the container)
What is the current bug behavior?
Container immediately exits. Even after supplying the files in another Dockerfile, the container fails due to permissions errors.
What is the expected correct behavior?
The container starts, or provides reasonable next steps to supply your own certificates.
Relevant logs and/or screenshots
AH00526: Syntax error on line 85 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty
Possible fixes
I will be pushing a fix-branch after I submit with my proposed solution + some quality-of-life improvements for the container
Defintion of Done
-
Bug has been identified and corrected within the container
/cc @ironbank-notifications/bug