package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/docker/cli.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.
# Constants
DefaultInitBinary is the name of the default init binary.
TODO: change to private.
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.
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.
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.
LogConfig represents the default log configuration.