From aca3c43fdc0ad223fddbe9cbd0acde9190c2065f Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 30 Nov 2016 18:54:44 +0000 Subject: [PATCH] Moved the changes from README.md to content.md and updated according to a suggestion to use 8080:80 as an example --- haproxy/README.md | 2 -- haproxy/content.md | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haproxy/README.md b/haproxy/README.md index 16aab2949..1c92a79c1 100644 --- a/haproxy/README.md +++ b/haproxy/README.md @@ -56,8 +56,6 @@ $ docker run -it --rm --name haproxy-syntax-check haproxy:1.5 haproxy -c -f /usr $ docker run -d --name my-running-haproxy my-haproxy ``` -You may need to publish the ports your haproxy is listening on to the host by specifying the `-p` option, for example `-p 80:80` to publish port 80. Make sure the port you're using is free. - ## Directly via bind mount ```console diff --git a/haproxy/content.md b/haproxy/content.md index 1622ea269..41a68bc33 100644 --- a/haproxy/content.md +++ b/haproxy/content.md @@ -41,6 +41,8 @@ $ docker run -it --rm --name haproxy-syntax-check haproxy:1.5 haproxy -c -f /usr $ docker run -d --name my-running-haproxy my-haproxy ``` +You may need to publish the ports your haproxy is listening on to the host by specifying the -p option, for example -p 8080:80 to publish port 8080 from the container host to port 80 in the container. Make sure the port you're using is free. + ## Directly via bind mount ```console