moby/oci/defaults_windows.go
John Howard 7c7c3d7746 Windows OCI convergence step 1
Signed-off-by: John Howard <jhoward@microsoft.com>
2016-09-12 16:11:47 -07:00

19 lines
360 B
Go

package oci
import (
"runtime"
"github.com/docker/docker/libcontainerd/windowsoci"
)
// DefaultSpec returns default spec used by docker.
func DefaultSpec() windowsoci.Spec {
return windowsoci.Spec{
Version: windowsoci.Version,
Platform: windowsoci.Platform{
OS: runtime.GOOS,
Arch: runtime.GOARCH,
},
Windows: &windowsoci.Windows{},
}
}