<p><strong>Getting this in log while deploying image in openshift:</strong></p>

<blockquote>
  <p>AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.13. Set the 'ServerName' directive globally to suppress this message</p>
  
  <p>(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80</p>
  
  <p>(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
  no listening sockets available, shutting down
  AH00015: Unable to open logs</p>
</blockquote>

<p><strong>Dockerfile:</strong></p>

<pre><code>FROM httpd:2.4

RUN echo "hello app" &gt; /usr/local/apache2/htdocs/hello.html
</code></pre>

<p>also getting the error if i use EXPOSE 80</p>

Prakhar Agarwal
<p>Ports up to 1024 are so called <code>privileged ports</code> this means that in order to bind to them, the user has to have root capabilities.
In your case, you are trying have your service listen on port 80, which is in that <code>privileged</code> port range.
By default openshift is not running any containers inside the Pods as root.</p>

<p>You will either have to adjust the user as which it runs or have it listen on a different port.</p>
