github.com/moby/docker@v26.1.3+incompatible/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  }