Merge pull request #139 from zivvers/master

fix to get single IPAddress
This commit is contained in:
Will Sargent 2017-12-15 10:16:54 -08:00 committed by GitHub
commit 9033bc9a37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -605,7 +605,7 @@ docker commit -run='{"Cmd":["postgres", "-too -many -opts"]}' $(dl) postgres
### Get IP address
```
docker inspect $(dl) | grep IPAddress | cut -d '"' -f 4
docker inspect $(dl) | grep -wm1 IPAddress | cut -d '"' -f 4
```
or install [jq](https://stedolan.github.io/jq/):