containerd/cmd/containerd/config_windows.go
Kenfe-Mickael Laventure c5843b7615 Initial windows runtime work
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-04-07 09:20:44 -07:00

21 lines
428 B
Go

package main
import (
"os"
"path/filepath"
)
func defaultConfig() *config {
return &config{
Root: filepath.Join(os.Getenv("programfiles"), "containerd", "root"),
State: filepath.Join(os.Getenv("programfiles"), "containerd", "state"),
GRPC: grpcConfig{
Address: `\\.\pipe\containerd-containerd`,
},
Debug: debug{
Level: "info",
Address: `\\.\pipe\containerd-debug`,
},
Snapshotter: "windows",
}
}