Affected by GO-2022-0390
and 9 other vulnerabilities
GO-2022-0390: Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2022-0985: Docker supplementary group permissions not set up properly, allowing attackers to bypass primary group restrictions in github.com/docker/docker
GO-2022-1107: Container build can leak any path on the host into the container in github.com/docker/docker
GO-2024-2914: Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
GO-2025-3829: Moby firewalld reload removes bridge network isolation in github.com/docker/docker
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
Format helps to format the output using the parameters set in the Context.
Currently Format allow to display in raw, table or custom format the output.
type Context struct {
// Output is the output stream to which the formatted string is written. Output io.Writer// Format is used to choose raw, table or custom format for the output. Format string// Size when set to true will display the size of the output. Size bool// Quiet when set to true will simply print minimal information. Quiet bool// Trunc when set to true will truncate the output of certain fields such as Container ID. Trunc bool
}
Context contains information required by the formatter to print the output as desired.