Skip to content

Commit

Permalink
docker daemon: show info about the server
Browse files Browse the repository at this point in the history
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 <[email protected]> (github: vbatts)
  • Loading branch information
vbatts committed Apr 3, 2014
1 parent be882d9 commit cea43f8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
job := eng.Job("serveapi", flHosts.GetAll()...)
job.SetenvBool("Logging", true)
Expand Down

0 comments on commit cea43f8

Please sign in to comment.