github.com/olljanat/moby@v1.13.1/oci/defaults_solaris.go (about)

     1  package oci
     2  
     3  import (
     4  	"runtime"
     5  
     6  	"github.com/opencontainers/runtime-spec/specs-go"
     7  )
     8  
     9  // DefaultSpec returns default oci spec used by docker.
    10  func DefaultSpec() specs.Spec {
    11  	s := specs.Spec{
    12  		Version: "0.6.0",
    13  		Platform: specs.Platform{
    14  			OS:   "SunOS",
    15  			Arch: runtime.GOARCH,
    16  		},
    17  	}
    18  	s.Solaris = &specs.Solaris{}
    19  	return s
    20  }