package remote
import "github.com/docker/docker/libcontainerd/remote"
Index ¶
- Constants
- func NewClient(ctx context.Context, cli *containerd.Client, stateDir, ns string, b libcontainerdtypes.Backend) (libcontainerdtypes.Client, error)
- func WithBundle(bundleDir string, ociSpec *specs.Spec) containerd.NewContainerOpts
Constants ¶
const DockerContainerBundlePath = "com.docker/engine.bundle.path"
DockerContainerBundlePath is the label key pointing to the container's bundle path
Functions ¶
func NewClient ¶
func NewClient(ctx context.Context, cli *containerd.Client, stateDir, ns string, b libcontainerdtypes.Backend) (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
Source Files ¶
- Version
- v20.10.0-beta1+incompatible
- Published
- Oct 9, 2020
- Platform
- linux/amd64
- Imports
- 36 packages
- Last checked
- 1 hour ago –
Tools for package owners.