Affected by GO-2026-4883
and 4 other vulnerabilities
GO-2026-4883: Moby has an Off-by-one error in its plugin privilege validation in github.com/docker/docker
GO-2026-4887: Moby has AuthZ plugin bypass when provided oversized request bodies in github.com/docker/docker
GO-2026-5617: Docker: Race condition in docker cp allows bind mount redirection to host path in github.com/docker/docker
GO-2026-5668: Docker: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap in github.com/docker/docker
GO-2026-5746: Docker: `PUT /containers/{id}/archive` executes container binary on the host in github.com/docker/docker
package
Version:
v27.2.0-rc.1+incompatible
Opens a new window with list of versions in this module.
Published: Aug 16, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 421
Opens a new window with list of known importers.
Documentation
¶
-
func NewClient(ctx context.Context, cli *containerd.Client, stateDir, ns string, ...) (libcontainerdtypes.Client, error)
-
func ReplaceContainer(ctx context.Context, client types.Client, id string, spec *specs.Spec, ...) (types.Container, error)
NewClient creates a new libcontainerd client from a containerd client
ReplaceContainer creates a new container, replacing any existing container
with the same id if necessary.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.