mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows libcontainerd implementation
Signed-off-by: John Howard <jhoward@microsoft.com> Signed-off-by: John Starks <jostarks@microsoft.com> Signed-off-by: Darren Stahl <darst@microsoft.com> Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
6eebe85290
commit
94d70d8355
22 changed files with 1419 additions and 167 deletions
23
oci/defaults_windows.go
Normal file
23
oci/defaults_windows.go
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
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{},
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue