Skip to content

Commit fb7e9f8

Browse files
committed
Updated documentation about ports.
1 parent edf6204 commit fb7e9f8

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,22 @@ format: `<HOST_DIR>:<CONTAINER_DIR>[:PERMISSIONS]`.
152152
153153
### Ports
154154
155-
Here is the list of ports used by the container. They can be mapped to the host
156-
via the `-p` parameter (one per port mapping). Each mapping is defined in the
157-
following format: `<HOST_PORT>:<CONTAINER_PORT>`. The port number inside the
158-
container cannot be changed, but you are free to use any port on the host side.
159-
160-
| Port | Mapping to host | Description |
161-
|------|-----------------|-------------|
162-
| 8181 | Mandatory | Port used to access the web interface of the application. |
163-
| 8080 | Mandatory | Port used to serve HTTP requests. |
164-
| 4443 | Mandatory | Port used to serve HTTPs requests. |
155+
Here is the list of ports used by the container.
156+
157+
When using the default bridge network, ports can be mapped to the host via the
158+
`-p` parameter (one per port mapping). Each mapping is defined with the
159+
following format: `<HOST_PORT>:<CONTAINER_PORT>`. The port number used inside
160+
the container might not be changeable, but you are free to use any port on the
161+
host side.
162+
163+
See the [Docker Container Networking](https://docs.docker.com/config/containers/container-networking)
164+
documentation for more details.
165+
166+
| Port | Protocol | Mapping to host | Description |
167+
|------|----------|-----------------|-------------|
168+
| 8181 | TCP | Mandatory | Port used to access the web interface of the application. |
169+
| 8080 | TCP | Mandatory | Port used to serve HTTP requests. |
170+
| 4443 | TCP | Mandatory | Port used to serve HTTPs requests. |
165171
166172
### Changing Parameters of a Running Container
167173

0 commit comments

Comments
 (0)