Skip to content

Commit a672b1f

Browse files
committed
add extra parameters info
1 parent 13a7021 commit a672b1f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@ docker create \
3131
linuxserver/piwigo
3232
```
3333

34-
**Parameters**
34+
## Parameters
35+
36+
`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side.
37+
For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container.
38+
So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080
39+
http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.`
40+
3541

3642
* `-p 80` - webui port *see note below*
3743
* `-v /etc/localtime` for timesync - *optional*

0 commit comments

Comments
 (0)