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

Update dockerlinks.md

Added missing command for logging into web container.
This commit is contained in:
Jaroslaw Zabiello 2014-07-19 05:38:11 +01:00
parent ccbaf4bc6e
commit a781de0c10

View file

@ -208,6 +208,7 @@ In addition to the environment variables Docker adds a host entry for the
linked parent to the `/etc/hosts` file. Let's look at this file on the `web`
container now.
$ sudo docker run -t -i --rm --link db:db training/webapp /bin/bash
root@aed84ee21bde:/opt/webapp# cat /etc/hosts
172.17.0.7 aed84ee21bde
. . .