Allow plugins to be mapped and returned by their ID. Add skip plugin to allow plugins to decide whether they should be loaded. Signed-off-by: Derek McGowan <derek@mcgstyle.net>
19 lines
357 B
Go
19 lines
357 B
Go
// +build darwin freebsd
|
|
|
|
package main
|
|
|
|
import "github.com/containerd/containerd/server"
|
|
|
|
func defaultConfig() *server.Config {
|
|
return &server.Config{
|
|
Root: "/var/lib/containerd",
|
|
GRPC: server.GRPCConfig{
|
|
Address: "/run/containerd/containerd.sock",
|
|
},
|
|
Debug: server.Debug{
|
|
Level: "info",
|
|
Address: "/run/containerd/debug.sock",
|
|
},
|
|
}
|
|
}
|