Merge pull request #11462 from rdimitrov/dimitrovr/doc-fix

Remove duplicate sentences from Published ports section
This commit is contained in:
Sebastiaan van Stijn 2020-10-02 17:32:22 +02:00 committed by GitHub
commit 5312e93171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -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 |
|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------| |---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|