зеркало из https://github.com/microsoft/docker.git
24 строки
414 B
Go
24 строки
414 B
Go
package oci
|
|
|
|
import (
|
|
"runtime"
|
|
|
|
"github.com/docker/docker/libcontainerd/windowsoci"
|
|
)
|
|
|
|
// DefaultSpec returns default spec used by docker.
|
|
func DefaultSpec() windowsoci.WindowsSpec {
|
|
s := windowsoci.Spec{
|
|
Version: windowsoci.Version,
|
|
Platform: windowsoci.Platform{
|
|
OS: runtime.GOOS,
|
|
Arch: runtime.GOARCH,
|
|
},
|
|
}
|
|
|
|
return windowsoci.WindowsSpec{
|
|
Spec: s,
|
|
Windows: windowsoci.Windows{},
|
|
}
|
|
}
|