Affected by GO-2022-0390
and 8 other vulnerabilities
GO-2022-0390 : Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914 : Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
GO-2024-3304 : Moby Race Condition vulnerability in github.com/moby/moby
GO-2024-3305 : Moby Race Condition vulnerability in github.com/moby/moby
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
Discover Packages
github.com/moby/moby
daemon
logger
local
package
Version:
v20.10.2+incompatible
Opens a new window with list of versions in this module.
Published: Dec 25, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package local provides a logger implementation that stores logs on disk.
Log messages are encoded as protobufs with a header and footer for each message.
The header and footer are big-endian binary encoded uint32 values which indicate the size of the log message.
The header and footer of each message allows you to efficiently read through a file either forwards or in
backwards (such as is the case when tailing a file)
Example log message format: [22][This is a log message.][22][28][This is another log message.][28]
LogOptKeys are the keys names used for log opts passed in to initialize the driver.
New creates a new local logger
You must provide the `LogPath` in the passed in info argument, this is the file path that logs are written to.
ValidateLogOpt looks for log driver specific options.
type CreateConfig struct {
DisableCompression bool
MaxFileSize int64
MaxFileCount int
}
CreateConfig is used to configure new instances of driver
Source Files
¶
Click to show internal directories.
Click to hide internal directories.