mirror of https://github.com/k3s-io/k3s
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
375 B
23 lines
375 B
2 years ago
|
//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)
|
||
|
}
|
||
|
}
|