This new collection of commands supports initializing a local engine using containerd, updating that engine, and activating the EE product Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
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,
|
|
)
|
|
}
|