There was a missing command to re-run the web container.

Signed-off-by: Bruno Gazzera <bgazzera@paginar.com>
Upstream-commit: 44cde56333fe891e087b8aa5ba914345bbdedbc0
Component: engine
This commit is contained in:
Bruno Gazzera
2015-01-18 12:17:49 -03:00
parent b873d45d82
commit a3290112e7
@@ -282,6 +282,8 @@ will be automatically updated with the source container's new IP address,
allowing linked communication to continue.
$ sudo docker restart db
db
$ 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
. . .