Skip to content

Commit 2cd31c5

Browse files
committed
add extra parameters info
1 parent 210a1d4 commit 2cd31c5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ docker create \
3333
linuxserver/mariadb
3434
```
3535

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

3844
* `-p 3306` - mysql port
3945
* `-v /config` - Contains the db itself and all assorted settings.

0 commit comments

Comments
 (0)