mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
dockerd: log commands
This commit is contained in:
parent
27c7ecb587
commit
8a28efa655
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ func main() {
|
|||
|
||||
func (docker *Docker) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
cmd, args := URLToCall(r.URL)
|
||||
log.Printf("%s\n", strings.Join(append(append([]string{"docker"}, cmd), args...), " "))
|
||||
if cmd == "" {
|
||||
docker.CmdUsage(r.Body, w, "")
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue