package libcontainerd

import "github.com/docker/docker/libcontainerd"

Index

Functions

func NewClient

NewClient creates a new libcontainerd client from a containerd client

func ReplaceContainer

func ReplaceContainer(ctx context.Context, client types.Client, id string, spec *specs.Spec, shim string, runtimeOptions interface{}, opts ...containerd.NewContainerOpts) (types.Container, error)

ReplaceContainer creates a new container, replacing any existing container with the same id if necessary.

Source Files

libcontainerd_linux.go replace.go

Directories

PathSynopsis
libcontainerd/queue
libcontainerd/remote
libcontainerd/shimopts
libcontainerd/supervisor
libcontainerd/types
Version
v28.1.1+incompatible (latest)
Published
Apr 18, 2025
Platform
linux/amd64
Imports
8 packages
Last checked
53 minutes ago

Tools for package owners.