July 2018
Intermediate to advanced
504 pages
11h 34m
English
The httpd Docker image is available on Docker Hub. You may want to confirm this by running the following command:
$ sudo docker search httpdINDEX NAME DESCRIPTION STARS OFFICIAL AUTOMATEDdocker.io docker.io/httpd The Apache HTTP Server Project 1719 [OK]<OMITTED>
According to the image documentation (https://docs.docker.com/samples/library/httpd/), it listens on TCP port 80. We cannot simply use this container, because it binds to a privileged port. The default security policy in OpenShift doesn't allow applications to bind on ports below 1024. To avoid problems, OpenShift comes with an image stream named httpd which points to an OpenShift-ready httpd image build. For example, in our version of OpenShift, the httpd image stream ...