Return docker's root dir in docker -D info

This adds the docker daemon's root directory to docker info when running
in debug mode.  This allows the user to view the root directory where
docker is writing and storing state.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 654da4e151c449725b6996d47b7ff33767e87da9
Component: engine
This commit is contained in:
Michael Crosby
2014-12-03 15:29:54 -08:00
parent cdaba1e671
commit 0703a67ce9
3 changed files with 5 additions and 0 deletions

View File

@ -934,6 +934,7 @@ For example:
Goroutines: 9
EventsListeners: 0
Init Path: /usr/bin/docker
Docker Root Dir: /var/lib/docker
Username: svendowideit
Registry: [https://index.docker.io/v1/]
Labels: