add logpath to docker inspect.

Signed-off-by: Bradley Cicenas <bradley.cicenas@gmail.com>
This commit is contained in:
Bradley Cicenas 2015-02-06 12:25:42 -05:00 committed by Tibor Vass
parent ee1b138b2b
commit f99a52dc6c
1 changed files with 4 additions and 0 deletions

View File

@ -1238,6 +1238,10 @@ straightforward manner.
$ sudo docker inspect --format='{{.NetworkSettings.MacAddress}}' $INSTANCE_ID
**Get an instance's log path:**
$ sudo docker inspect --format='{{.LogPath}}' $INSTANCE_ID
**List All Port Bindings:**
One can loop over arrays and maps in the results to produce simple text