From 936180de3ac41966019216c2d704a659b2964b02 Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 14 Sep 2017 15:56:52 -0400 Subject: [PATCH] Corrected port mappings Corrected the port mapping. The Dockerfile exposes port 80 so we need to map local port 8080 to container port 80 whereas the commands in the readme were mapping local port 8080 to container port 8080. --- httpd/centos7/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httpd/centos7/README.md b/httpd/centos7/README.md index f579c16d..7fedd056 100644 --- a/httpd/centos7/README.md +++ b/httpd/centos7/README.md @@ -16,13 +16,13 @@ Copy the sources down and do the build To run (if port 8080 is available and open on your host): ``` -# docker run -d -p 8080:8080 /httpd +# docker run -d -p 8080:80 /httpd ``` or to assign a random port that maps to port 80 on the container: ``` -# docker run -d -p 8080 /httpd +# docker run -d -p 80 /httpd ``` To the port that the container is listening on: