package
20.10.0-rc1+incompatible
Repository: https://github.com/agilebits/moby.git
Documentation: pkg.go.dev
# Functions
GetConflictFreeLabels validates Labels for conflict In swarm the duplicates for labels are removed so we only take same values here, no conflict values If the key-value is the same we will only take the last label.
MergeDaemonConfigurations reads a configuration file, loads the file configuration in an isolated structure, and merges the configuration provided from flags on top if there are no conflicts.
ModifiedDiscoverySettings returns whether the discovery configuration has been modified or not.
New returns a new fully initialized Config struct.
ParseClusterAdvertiseSettings parses the specified advertise settings.
ParseGenericResources parses and validates the specified string as a list of GenericResource.
Reload reads the configuration in the host and reloads the daemon and server.
Validate validates some specific configs.
ValidateMaxDownloadAttempts validates if the max-download-attempts is within the valid range.
# Constants
DefaultDownloadAttempts is the default value for maximum number of attempts that may take place at a time for each pull when the connection is lost.
DefaultInitBinary is the name of the default init binary.
DefaultIpcMode is default for container's IpcMode, if not set otherwise.
DefaultMaxConcurrentDownloads is the default value for maximum number of downloads that may take place at a time for each pull.
DefaultMaxConcurrentUploads is the default value for maximum number of uploads that may take place at a time for each push.
DefaultNetworkMtu is the default value for network MTU.
DefaultShmSize is the default value for container's shm size.
DisableNetworkBridge is the default value of the option to disable network bridge.
LinuxV1RuntimeName is the runtime used to specify the containerd v1 shim with the runc binary Note this is different than io.containerd.runc.v1 which would be the v1 shim using the v2 shim API.
LinuxV2RuntimeName is the runtime used to specify the containerd v2 runc shim.
StockRuntimeName is the reserved name/alias used to represent the OCI runtime being shipped with the docker daemon package.
# Structs
BridgeConfig stores all the bridge driver specific configuration.
BuilderConfig contains config for the builder.
BuilderEntitlements contains settings to enable/disable entitlements.
BuilderGCConfig contains GC config for a buildkit builder.
BuilderGCRule represents a GC rule for buildkit cache.
CommonConfig defines the configuration of a docker daemon which is common across platforms.
CommonTLSOptions defines TLS configuration for the daemon server.
CommonUnixConfig defines configuration of a docker daemon that is common across Unix platforms.
Config defines the configuration of a docker daemon.
DNSConfig defines the DNS configurations.
LogConfig represents the default log configuration.
NetworkConfig stores the daemon-wide networking configurations.
# Type aliases
BuilderGCFilter contains garbage-collection filter rules for a BuildKit builder.