Add Sockets (-H) list to `docker -D info`.

This will allow us to _know_ what the user's -H settings are, which may
be useful for debugging later.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
This commit is contained in:
Sven Dowideit 2014-04-26 20:22:05 +10:00 committed by Tibor Vass
parent acbbeb39de
commit 6c8a3f798b
1 changed files with 18 additions and 13 deletions

View File

@ -563,25 +563,30 @@ tar, then the ownerships might not get preserved.
## info
Usage: docker info
Display system-wide information
Usage: docker info
For example:
$ sudo docker info
Containers: 292
Images: 194
$ sudo docker -D info
Containers: 16
Images: 2138
Storage Driver: btrfs
Execution Driver: native-0.1
Kernel Version: 3.12.0-1-amd64
Debug mode (server): false
Debug mode (client): false
Fds: 22
Goroutines: 67
LXC Version: 0.9.0
EventsListeners: 115
Kernel Version: 3.8.0-33-generic
WARNING: No swap limit support
Debug mode (client): true
Fds: 16
Goroutines: 104
EventsListeners: 0
Init Path: /usr/bin/docker
Sockets: [unix:///var/run/docker.sock tcp://0.0.0.0:4243]
Username: svendowideit
Registry: [https://index.docker.io/v1/]
When sending issue reports, please use `docker version` and `docker info` to
The global `-D` option tells all `docker` comands to output debug information.
When sending issue reports, please use `docker version` and `docker -D info` to
ensure we know how your setup is configured.
## inspect