From 34758ae7523d251b61393ea10c2269b8ae714a2d Mon Sep 17 00:00:00 2001 From: "Kim, Byeongmin" Date: Tue, 30 Apr 2019 17:39:39 +0900 Subject: [PATCH] fix container default port docker container port is 80 --- 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: