1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

The Go template is a better pattern for documentation.

This commit is contained in:
Ryan Aslett 2014-05-07 00:21:02 -07:00
parent bd9b27fe18
commit 7549199cc5

View file

@ -11,7 +11,7 @@ port. When this service runs inside a container, one can connect to the
port after finding the IP address of the container as follows:
# Find IP address of container with ID <container_id>
$ docker inspect <container_id> | grep IPAddress | cut -d '"' -f 4
$ docker inspect --format='{{.NetworkSettings.IPAddress}}' <container_id>
However, this IP address is local to the host system and the container
port is not reachable by the outside world. Furthermore, even if the