mirror of
https://github.com/moby/moby.git
synced 2026-08-02 22:26:52 +00:00
19 lines
254 B
Go
19 lines
254 B
Go
//go:build !windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"context"
|
|
"io"
|
|
|
|
"github.com/containerd/log"
|
|
)
|
|
|
|
func runDaemon(ctx context.Context, cli *daemonCLI) error {
|
|
return cli.start(ctx)
|
|
}
|
|
|
|
func initLogging(_, stderr io.Writer) {
|
|
log.L.Logger.SetOutput(stderr)
|
|
}
|