mirror of https://github.com/docker/cli.git
17 lines
348 B
Go
17 lines
348 B
Go
// +build !windows
|
|
|
|
package containerizedengine
|
|
|
|
import (
|
|
"github.com/containerd/containerd"
|
|
"github.com/containerd/containerd/oci"
|
|
"github.com/docker/cli/internal/pkg/containerized"
|
|
)
|
|
|
|
func genSpec() containerd.NewContainerOpts {
|
|
return containerd.WithSpec(&engineSpec,
|
|
containerized.WithAllCapabilities,
|
|
oci.WithParentCgroupDevices,
|
|
)
|
|
}
|