Expose docker's root directory by default as part of `docker info`.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
Vishnu kannan 2016-02-03 18:10:48 -08:00 committed by Tibor Vass
parent 3969f77c86
commit cb1279e542
2 changed files with 9 additions and 1 deletions

View File

@ -44,6 +44,7 @@ For example:
Total Memory: 62.86 GiB Total Memory: 62.86 GiB
Name: docker Name: docker
ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S
Docker Root Dir: /var/lib/docker
Debug mode (client): true Debug mode (client): true
Debug mode (server): true Debug mode (server): true
File Descriptors: 59 File Descriptors: 59

View File

@ -51,7 +51,14 @@ Here is a sample output:
Architecture: x86_64 Architecture: x86_64
CPUs: 1 CPUs: 1
Total Memory: 2 GiB Total Memory: 2 GiB
Name: docker
ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Username: xyz
Registry: https://index.docker.io/v1/
# HISTORY # HISTORY
April 2014, Originally compiled by William Henry (whenry at redhat dot com) April 2014, Originally compiled by William Henry (whenry at redhat dot com)
based on docker.com source material and internal work. based on docker.com source material and internal work.