mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
23 lines
375 B
Go
23 lines
375 B
Go
|
//go:build ctrd
|
||
|
// +build ctrd
|
||
|
|
||
|
package containerd
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"os"
|
||
|
|
||
|
"github.com/containerd/containerd/cmd/containerd/command"
|
||
|
"github.com/containerd/containerd/pkg/seed"
|
||
|
)
|
||
|
|
||
|
func Main() {
|
||
|
//klog.InitFlags(nil)
|
||
|
seed.WithTimeAndRand()
|
||
|
app := command.App()
|
||
|
if err := app.Run(os.Args); err != nil {
|
||
|
fmt.Fprintf(os.Stderr, "containerd: %s\n", err)
|
||
|
os.Exit(1)
|
||
|
}
|
||
|
}
|