package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package logger defines interfaces that logger drivers implement to log messages.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
CreateDaemonRoot creates the root for the daemon.
DefaultApparmorProfile returns the name of the default apparmor profile.
LoadOrCreateID loads the engine's ID from the given root, or generates a new ID if it doesn't exist.
NewDaemon sets up everything for the daemon to be able to service requests from the webserver.
RegisterCDIDriver registers the CDI device driver.
RemapContainerdNamespaces returns the right containerd namespaces to use: - if they are not already set in the config file - and the daemon is running with user namespace remapping enabled Then it will return new namespace names, otherwise it will return the existing namespaces.
Rootless returns true if daemon is running in rootless mode.
UsingSystemd returns true if cli option includes native.cgroupdriver=systemd.
WithApparmor sets the apparmor profile.
WithCapabilities sets the container's capabilities.
WithConsoleSize sets the initial console size.
WithDevices sets the container's devices.
WithNamespaces sets the container's namespaces.
WithOOMScore sets the oom score.
WithResources applies the container resources.
WithSeccomp sets the seccomp profile.
WithSelinux sets the selinux labels.
WithSysctls sets the container's sysctls.
WithUser sets the container's user.
# Interfaces
Cluster is the interface for github.com/docker/docker/daemon/cluster.(*Cluster).
ClusterStatus interface provides information about the Swarm status of the Cluster.
ImageService is a temporary interface to assist in the migration to the containerd image-store.
NetworkManager provides methods to manage networks.
# Type aliases
PredefinedNetworkError is returned when user tries to create predefined network that already exists.