Files
moby/cmd/dockerd/docker_unix.go
Sebastiaan van Stijn 8c598b1005 cmd/dockerd: runDaemon: extract platform-agnostic code
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-17 16:21:31 +02:00

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)
}