package remote
import "github.com/dotcloud/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 ¶
client.go client_io_windows.go client_windows.go
- Version
- v23.0.6+incompatible
- Published
- May 5, 2023
- Platform
- windows/amd64
- Imports
- 37 packages
- Last checked
- 1 hour ago –
Tools for package owners.