github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/cmd/dockerd/docker_unix.go (about) 1 //go:build !windows 2 3 package main 4 5 import ( 6 "io" 7 8 "github.com/containerd/log" 9 ) 10 11 func runDaemon(opts *daemonOptions) error { 12 daemonCli := NewDaemonCli() 13 return daemonCli.start(opts) 14 } 15 16 func initLogging(_, stderr io.Writer) { 17 log.L.Logger.SetOutput(stderr) 18 }