mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
02309170a5
Signed-off-by: John Howard <jhoward@microsoft.com>
19 lines
333 B
Go
19 lines
333 B
Go
package oci
|
|
|
|
import (
|
|
"runtime"
|
|
|
|
"github.com/opencontainers/runtime-spec/specs-go"
|
|
)
|
|
|
|
// DefaultSpec returns default spec used by docker.
|
|
func DefaultSpec() specs.Spec {
|
|
return specs.Spec{
|
|
Version: specs.Version,
|
|
Platform: specs.Platform{
|
|
OS: runtime.GOOS,
|
|
Arch: runtime.GOARCH,
|
|
},
|
|
Windows: &specs.Windows{},
|
|
}
|
|
}
|