From 7f118cc2e92d6b99b6222519b9458fe98aaf661d Mon Sep 17 00:00:00 2001 From: Erfan <37825504+erfantkerfan@users.noreply.github.com> Date: Tue, 11 Jul 2023 18:25:27 +0330 Subject: [PATCH] consistency across docs (#17611) --- network/drivers/overlay.md | 8 ++++---- network/index.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/network/drivers/overlay.md b/network/drivers/overlay.md index da76963df8..9f82f79a38 100644 --- a/network/drivers/overlay.md +++ b/network/drivers/overlay.md @@ -276,10 +276,10 @@ routing on the individual Docker daemon hosts. | Flag value | Description | |---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------| -| `-p 8080:80` | Map TCP port 80 in the container to port 8080 on the overlay network. | -| `-p 8080:80/udp` | Map UDP port 80 in the container to port 8080 on the overlay network. | -| `-p 8080:80/sctp` | Map SCTP port 80 in the container to port 8080 on the overlay network. | -| `-p 8080:80/tcp -p 8080:80/udp` | Map TCP port 80 in the container to TCP port 8080 on the overlay network, and map UDP port 80 in the container to UDP port 8080 on the overlay network. | +| `-p 8080:80` | Map TCP port 80 in the container to port `8080` on the overlay network. | +| `-p 8080:80/udp` | Map UDP port 80 in the container to port `8080` on the overlay network. | +| `-p 8080:80/sctp` | Map SCTP port 80 in the container to port `8080` on the overlay network. | +| `-p 8080:80/tcp -p 8080:80/udp` | Map TCP port 80 in the container to TCP port `8080` on the overlay network, and map UDP port 80 in the container to UDP port `8080` on the overlay network. | ### Container discovery diff --git a/network/index.md b/network/index.md index 127155db89..bd1638870f 100644 --- a/network/index.md +++ b/network/index.md @@ -43,7 +43,7 @@ Here are some examples: | `-p 8080:80` | Map TCP port 80 in the container to port `8080` on the Docker host. | | `-p 192.168.1.100:8080:80` | Map TCP port 80 in the container to port `8080` on the Docker host for connections to host IP `192.168.1.100`. | | `-p 8080:80/udp` | Map UDP port 80 in the container to port `8080` on the Docker host. | -| `-p 8080:80/tcp -p 8080:80/udp` | Map TCP port 80 in the container to TCP port `8080` on the Docker host, and map UDP port `80` in the container to UDP port `8080` on the Docker host. | +| `-p 8080:80/tcp -p 8080:80/udp` | Map TCP port 80 in the container to TCP port `8080` on the Docker host, and map UDP port 80 in the container to UDP port `8080` on the Docker host. | > **Important** >