package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.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.
MaskCredentials masks credentials that are in an URL.
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.
New returns a new fully initialized Config struct with default values set.
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.
ValidateMinAPIVersion verifies if the given API version is within the range supported by the daemon.
# Constants
DefaultCgroupNamespaceMode is the default mode for containers cgroup namespace when using cgroups v2.
DefaultCgroupV1NamespaceMode is the default mode for containers cgroup namespace when using cgroups v1.
DefaultContainersNamespace is the name of the default containerd namespace used for users containers.
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.
DefaultMaxConcurrentUploads is the default value for maximum number of uploads that may take place at a time.
DefaultNetworkMtu is the default value for network MTU.
DefaultPluginNamespace is the name of the default containerd namespace used for plugins.
DefaultRuntimeBinary is the default runtime to be used by containerd if none is specified.
DefaultShmSize is the default value for container's shm size (64 MiB).
DefaultShutdownTimeout is the default shutdown timeout (in seconds) for the daemon for containers to stop when it is shutting down.
DisableNetworkBridge is the default value of the option to disable network bridge.
SeccompProfileDefault is the built-in default seccomp profile.
SeccompProfileUnconfined is a special profile name for seccomp to use an "unconfined" seccomp profile.
StockRuntimeName is the reserved name/alias used to represent the OCI runtime being shipped with the docker daemon package.
# Structs
BridgeConfig stores all the parameters for both the bridge driver and the default bridge network.
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.
BuilderHistoryConfig contains history config for a buildkit builder.
CommonConfig defines the configuration of a docker daemon which is common across platforms.
Config defines the configuration of a docker daemon.
DefaultBridgeConfig stores all the parameters for the default bridge network.
DNSConfig defines the DNS configurations.
LogConfig represents the default log configuration.
NetworkConfig stores the daemon-wide networking configurations.
Proxies holds the proxies that are configured for the daemon.
TLSOptions defines TLS configuration for the daemon server.
# Type aliases
BuilderGCFilter contains garbage-collection filter rules for a BuildKit builder.