# Functions
Default returns the default container config.
DefaultConfig defines the default values from containers.conf.
Device parses device mapping string to a src, dest & permissions string Valid values for device looklike: '/dev/sdc" '/dev/sdc:/dev/xvdc" '/dev/sdc:/dev/xvdc:rwm" '/dev/sdc:rm".
IsValidDeviceMode checks if the mode for device is valid or not.
NewConfig creates a new Config.
ParsePullPolicy parses the string into a pull policy.
No description provided by the author
ReadCustomConfig reads the custom config and only generates a config based on it If the custom config file does not exists, function will return an empty config.
Reload clean the cached config and reloads the configuration from containers.conf files This function is meant to be used for long-running processes that need to reload potential changes made to the cached containers.conf files.
Deprecated: please use `ParsePullPolicy` instead.
# Constants
BoltDBStateStore is a state backed by a BoltDB database.
CgroupfsCgroupsManager represents cgroupfs native cgroup manager.
DefaultApparmorProfile specifies the default apparmor profile for the container.
DefaultContainersConfig holds the default containers config path.
DefaultLogDriver is the default type of log files.
DefaultLogSizeMax is the default value for the maximum log size allowed for a container.
DefaultPidsLimit is the default value for maximum number of processes allowed inside a container.
DefaultPullPolicy pulls the image if it does not exist locally.
DefaultRootlessSignaturePolicyPath is the location within XDG_CONFIG_HOME of the rootless policy.json file.
DefaultShmSize default value.
DefaultSignaturePolicyPath is the default value for the policy.json file.
DefaultSubnet is the subnet that will be used for the default CNI network.
DefaultUserNSSize default value.
InMemoryStateStore is an in-memory state that will not persist data on containers and pods between engine instances or after system reboot.
InvalidStateStore is an invalid state store.
OCIBufSize limits maximum LogSizeMax.
OverrideContainersConfig holds the default config path overridden by the root user.
Always pull the image.
Pull the image only if it could not be found in the local containers storage.
Never pull the image but use the one from the local containers storage.
Pull if the image on the registry is new than the one in the local containers storage.
Ideally this should be the first `ioata` but backwards compatibility prevents us from changing the values.
SeccompDefaultPath defines the default seccomp path.
SeccompOverridePath if this exists it overrides the default seccomp path.
SQLiteStateStore is a state backed by a SQLite database It is presently disabled.
SystemdCgroupsManager represents systemd native cgroup manager.
UserOverrideContainersConfig holds the containers config path overridden by the rootless user.
# Variables
DefaultCapabilities for the default_capabilities option in the containers.conf file.
It may seem a bit unconventional, but it is necessary to do so.
DefaultDetachKeys is the default keys sequence for detaching a container.
DefaultHooksDirs defines the default hooks directory.
DefaultInfraImage to use for infra container.
DefaultInitPath is the default path to the container-init binary.
DefaultRootlessSHMLockPath is the default path for rootless SHM locks.
ErrConmonOutdated indicates the version of conmon found (whether via the configuration or $PATH) is out of date for the current podman version.
ErrInvalidArg indicates that an invalid argument was passed.
ProxyEnv is a list of Proxy Environment variables.
# Structs
Config contains configuration options for container tools.
ConfigMapConfig represents the "configmap" TOML config table.
ContainersConfig represents the "containers" TOML config table containers global options for containers tools.
Destination represents destination for remote service.
EngineConfig contains configuration options used to set up a engine runtime.
MachineConfig represents the "machine" TOML config table.
NetworkConfig represents the "network" TOML config table.
SecretConfig represents the "secret" TOML config table.
SetOptions contains a subset of options in a Config.
# Type aliases
PullPolicy determines how and which images are being pulled from a container registry (i.e., docker transport only).
RuntimeStateStore is a constant indicating which state store implementation should be used by engine.