mirror of
https://github.com/docker/docs.git
synced 2026-04-13 23:06:15 +07:00
Merge pull request #11449 from NullableInt/patch-1
Update container-networking.md
This commit is contained in:
@@ -23,8 +23,8 @@ By default, when you create or run a container using `docker create` or `docker
|
||||
it does not publish any of its ports to the outside world. To make a port available
|
||||
to services outside of Docker, or to Docker containers which are not connected to
|
||||
the container's network, use the `--publish` or `-p` flag. This creates a firewall
|
||||
rule which maps a container port to a port on the Docker host. Here are some examples.
|
||||
to the outside world. To make a port available to services outside of Docker, or
|
||||
rule which maps a container port to a port on the Docker host to the outside world.
|
||||
Here are some examples. To make a port available to services outside of Docker, or
|
||||
to Docker containers which are not connected to the container's network, use the
|
||||
`--publish` or `-p` flag. This creates a firewall rule which maps a container
|
||||
port to a port on the Docker host. Here are some examples.
|
||||
|
||||
Reference in New Issue
Block a user