From 91809fd45ca324615d6d401b306e489296123a8e Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Mon, 17 Oct 2016 21:02:28 +0100 Subject: [PATCH] add extra parameters info to README --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e4e5f4..2ff9fae 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,14 @@ docker create \ ``` -**Parameters** +## Parameters + +`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. +For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. +So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 +http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.` + + * `-p 80` - the port for the webUI * `-v /data` - Storage location for db and application data (graphs etc)