From b8f84c577a6f4f20253f46db48e84d9c92a50ddf Mon Sep 17 00:00:00 2001 From: Bradley Cicenas Date: Fri, 6 Feb 2015 12:25:42 -0500 Subject: [PATCH] add logpath to docker inspect. Signed-off-by: Bradley Cicenas Upstream-commit: f99a52dc6cac133f5bd6a2c1c1514ac32ba07c67 Component: cli --- components/cli/docs/sources/reference/commandline/cli.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/cli/docs/sources/reference/commandline/cli.md b/components/cli/docs/sources/reference/commandline/cli.md index 356a9566ff..093479644e 100644 --- a/components/cli/docs/sources/reference/commandline/cli.md +++ b/components/cli/docs/sources/reference/commandline/cli.md @@ -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