mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Allows using daemon/internal packages when creating dockerd Signed-off-by: Derek McGowan <derek@mcg.dev>
19 lines
253 B
Go
19 lines
253 B
Go
//go:build unix
|
|
|
|
package command
|
|
|
|
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)
|
|
}
|