Update work-with-networks.md (#2235)

Fix typo 3 -> 4.  Add clarification that we are using container4 to ping container4.
This commit is contained in:
Alan Thompson 2017-03-09 18:46:28 -06:00 committed by Misty Stanley-Jones
parent 4399f6a835
commit dfd33195bd
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ The following example illustrates these points.
$ docker network connect --link container4:bar local_alias container5
```
3. Attach to `container3` and try to ping `container4` using alias `foo`, then
3. Attach to `container4` and try to ping `container4` (yes, the same one) using alias `foo`, then
try pinging container `container5` using alias `c5`:
```bash