Browse code

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

Signed-off-by: Bruno Gazzera <bgazzera@paginar.com>

Bruno Gazzera authored on 2015/01/19 00:17:49
Showing 1 changed files
... ...
@@ -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
     . . .