mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #9052 from andreyst/master
Fix typo in Docker Links chapter of User Guide
This commit is contained in:
commit
e4fe85fc95
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ port. Where `<name>` is the alias name specified in the `--link` parameter
|
||||||
is either `TCP` or `UDP`. The format of the URL will be:
|
is either `TCP` or `UDP`. The format of the URL will be:
|
||||||
`<protocol>://<container_ip_address>:<port>`
|
`<protocol>://<container_ip_address>:<port>`
|
||||||
(e.g. `tcp://172.17.0.82:8080`). This URL will then be
|
(e.g. `tcp://172.17.0.82:8080`). This URL will then be
|
||||||
split into the following 3 environment variables for convinience:
|
split into the following 3 environment variables for convenience:
|
||||||
* `<name>_PORT_<port>_<protocol>_ADDR` will contain just the IP address
|
* `<name>_PORT_<port>_<protocol>_ADDR` will contain just the IP address
|
||||||
from the URL (e.g. `WEBDB_PORT_8080_TCP_ADDR=172.17.0.82`).
|
from the URL (e.g. `WEBDB_PORT_8080_TCP_ADDR=172.17.0.82`).
|
||||||
* `<name>_PORT_<port>_<protocol>_PORT` will contain just the port number
|
* `<name>_PORT_<port>_<protocol>_PORT` will contain just the port number
|
||||||
|
|
Loading…
Reference in a new issue