mirror of https://github.com/docker/docs.git
Merge pull request #11462 from rdimitrov/dimitrovr/doc-fix
Remove duplicate sentences from Published ports section
This commit is contained in:
commit
5312e93171
|
|
@ -24,10 +24,7 @@ it does not publish any of its ports to the outside world. To make a port availa
|
||||||
to services outside of Docker, or to Docker containers which are not connected to
|
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
|
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 to the outside world.
|
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
|
Here are some examples.
|
||||||
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.
|
|
||||||
|
|
||||||
| Flag value | Description |
|
| Flag value | Description |
|
||||||
|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
|
|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue