Delete 'port' for more clarity (#6781)
Imho, it is more understandable without 'port', i.e. a service maps to a container and not to a port
This commit is contained in:
parent
ad651f01ee
commit
cf880806c0
|
|
@ -41,7 +41,7 @@ as are any environment variables specified statically in the Docker image.
|
||||||
A list of all services that were running when a Container was created is available to that Container as environment variables.
|
A list of all services that were running when a Container was created is available to that Container as environment variables.
|
||||||
Those environment variables match the syntax of Docker links.
|
Those environment variables match the syntax of Docker links.
|
||||||
|
|
||||||
For a service named *foo* that maps to a container port named *bar*,
|
For a service named *foo* that maps to a container named *bar*,
|
||||||
the following variables are defined:
|
the following variables are defined:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue