mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
dockerd: log commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user