Signed-off-by: Bruno Gazzera <bgazzera@paginar.com>
| ... | ... |
@@ -282,6 +282,8 @@ will be automatically updated with the source container's new IP address, |
| 282 | 282 |
allowing linked communication to continue. |
| 283 | 283 |
|
| 284 | 284 |
$ sudo docker restart db |
| 285 |
+ db |
|
| 286 |
+ $ sudo docker run -t -i --rm --link db:db training/webapp /bin/bash |
|
| 285 | 287 |
root@aed84ee21bde:/opt/webapp# cat /etc/hosts |
| 286 | 288 |
172.17.0.7 aed84ee21bde |
| 287 | 289 |
. . . |