From 98b3164e57a2f99e20ff529bc87e999ddaceb2ed Mon Sep 17 00:00:00 2001 From: Adeleke Akinade Date: Thu, 29 Feb 2024 10:41:07 +0000 Subject: [PATCH] Fix typos in two Network related pages (#19532) * Fix typo in the Network page. * Fix typos in the Bridge Network Driver page. --------- Co-authored-by: Adeleke Akinade --- content/network/_index.md | 2 +- content/network/drivers/bridge.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/network/_index.md b/content/network/_index.md index 0e70c3856b..13dfc2da30 100644 --- a/content/network/_index.md +++ b/content/network/_index.md @@ -194,7 +194,7 @@ resolution. Your container will have lines in `/etc/hosts` which define the hostname of the container itself, as well as `localhost` and a few other common things. Custom hosts, defined in `/etc/hosts` on the host machine, aren't inherited by -containers. To pass additional hosts into container, refer to [add entries to +containers. To pass additional hosts into a container, refer to [add entries to container hosts file](../reference/cli/docker/container/run.md#add-host) in the `docker run` reference documentation. diff --git a/content/network/drivers/bridge.md b/content/network/drivers/bridge.md index b1445780d9..3b140fa26a 100644 --- a/content/network/drivers/bridge.md +++ b/content/network/drivers/bridge.md @@ -116,7 +116,7 @@ The following table describes the driver-specific options that you can pass to Some of these options are also available as flags to the `dockerd` CLI, and you can use them to configure the default `docker0` bridge when starting the Docker -daemon. The following tables shows which options have equivalent flags in the +daemon. The following table shows which options have equivalent flags in the `dockerd` CLI. | Option | Flag | @@ -168,7 +168,7 @@ $ docker network rm my-net ## Connect a container to a user-defined bridge When you create a new container, you can specify one or more `--network` flags. -This example connects a Nginx container to the `my-net` network. It also +This example connects an Nginx container to the `my-net` network. It also publishes port 80 in the container to port 8080 on the Docker host, so external clients can access that port. Any other container connected to the `my-net` network has access to all ports on the `my-nginx` container, and vice versa.