Documentation ¶
Index ¶
Constants ¶
View Source
const DockerContainerBundlePath = "com.docker/engine.bundle.path"
DockerContainerBundlePath is the label key pointing to the container's bundle path
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(ctx context.Context, cli *containerd.Client, stateDir, ns string, b libcontainerdtypes.Backend, useShimV2 bool) (libcontainerdtypes.Client, error)
NewClient creates a new libcontainerd client from a containerd client
func WithBundle ¶
func WithBundle(bundleDir string, ociSpec *specs.Spec) containerd.NewContainerOpts
WithBundle creates the bundle for the container
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.