github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/cmd/dockerd/docker_unix.go (about)

     1  // +build !windows
     2  
     3  package main
     4  
     5  import (
     6  	"io"
     7  
     8  	"github.com/sirupsen/logrus"
     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  	logrus.SetOutput(stderr)
    18  }