mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
docker daemon: show info about the server
For combing through logs, have an intro line with information about the running instance of the docker daemon. Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
parent
be882d989a
commit
cea43f8a2d
1 changed files with 7 additions and 0 deletions
|
@ -157,6 +157,13 @@ func main() {
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
// TODO actually have a resolved graphdriver to show?
|
||||||
|
log.Printf("docker daemon: %s %s; execdriver: %s; graphdriver: %s",
|
||||||
|
dockerversion.VERSION,
|
||||||
|
dockerversion.GITCOMMIT,
|
||||||
|
*flExecDriver,
|
||||||
|
*flGraphDriver)
|
||||||
|
|
||||||
// Serve api
|
// Serve api
|
||||||
job := eng.Job("serveapi", flHosts.GetAll()...)
|
job := eng.Job("serveapi", flHosts.GetAll()...)
|
||||||
job.SetenvBool("Logging", true)
|
job.SetenvBool("Logging", true)
|
||||||
|
|
Loading…
Reference in a new issue