Signed-off-by: Mary Anthony <mary@docker.com>
| ... | ... |
@@ -201,7 +201,7 @@ Which network is your `web` application running under? Inspect the application a |
| 201 | 201 |
|
| 202 | 202 |
Then, get the IP address of your `web` |
| 203 | 203 |
|
| 204 |
- $ docker inspect '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' web
|
|
| 204 |
+ $ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' web
|
|
| 205 | 205 |
172.17.0.2 |
| 206 | 206 |
|
| 207 | 207 |
Now, open a shell to your running `db` container: |