.TH "libpod.conf" "5" "" .nh .ad l .SH NAME .PP libpod.conf \- libpod configuration file .SH DESCRIPTION .PP The libpod.conf file is the default configuration file for all tools using libpod to manage containers. .SH OPTIONS .PP \fBimage\_default\_transport\fP="" Default transport method for pulling and pushing images .PP \fBruntime\fP="" Default OCI runtime to use if nothing is specified in \fBruntimes\fP .PP \fBruntimes\fP For each OCI runtime, specify a list of paths to look for. The first one found is used. If the paths are empty or no valid path was found, then the \fB\fC$PATH\fR environment variable will be used as the fallback. .PP \fBconmon\_path\fP="" Paths to search for the conmon container manager binary. If the paths are empty or no valid path was found, then the \fB\fC$PATH\fR environment variable will be used as the fallback. .PP \fBconmon\_env\_vars\fP="" Environment variables to pass into Conmon .PP \fBcgroup\_manager\fP="" Specify the CGroup Manager to use; valid values are "systemd" and "cgroupfs" .PP \fBlock\_type\fP="" Specify the locking mechanism to use; valid values are "shm" and "file". Change the default only if you are sure of what you are doing, in general "file" is useful only on platforms where cgo is not available for using the faster "shm" lock type. You may need to run "podman system renumber" after you change the lock type. .PP \fBinit\_path\fP="" Path to the container\-init binary, which forwards signals and reaps processes within containers. Note that the container\-init binary will only be used when the \fB\fC\-\-init\fR for podman\-create and podman\-run is set. .PP \fBhooks\_dir\fP=["\fIpath\fP", ...] .PP Each \fB\fC*.json\fR file in the path configures a hook for Podman containers. For more details on the syntax of the JSON files and the semantics of hook injection, see \fB\fCoci\-hooks(5)\fR\&. Podman and libpod currently support both the 1.0.0 and 0.1.0 hook schemas, although the 0.1.0 schema is deprecated. .PP Paths listed later in the array have higher precedence (\fB\fCoci\-hooks(5)\fR discusses directory precedence). .PP For the annotation conditions, libpod uses any annotations set in the generated OCI configuration. .PP For the bind\-mount conditions, only mounts explicitly requested by the caller via \fB\fC\-\-volume\fR are considered. Bind mounts that libpod inserts by default (e.g. \fB\fC/dev/shm\fR) are not considered. .PP Podman and libpod currently support an additional \fB\fCprecreate\fR state which is called before the runtime's \fB\fCcreate\fR operation. Unlike the other stages, which receive the container state on their standard input, \fB\fCprecreate\fR hooks receive the proposed runtime configuration on their standard input. They may alter that configuration as they see fit, and write the altered form to their standard output. .PP \fBWARNING\fP: the \fB\fCprecreate\fR hook lets you do powerful things, such as adding additional mounts to the runtime configuration. That power also makes it easy to break things. Before reporting libpod errors, try running your container with \fB\fCprecreate\fR hooks disabled to see if the problem is due to one of your hooks. .PP \fBstatic\_dir\fP="" Directory for persistent libpod files (database, etc) By default this will be configured relative to where containers/storage stores containers .PP \fBtmp\_dir\fP="" Directory for temporary files Must be a tmpfs (wiped after reboot) .PP \fBmax\_log\_size\fP="" Maximum size of log files (in bytes) .PP \fBno\_pivot\_root\fP="" Whether to use chroot instead of pivot\_root in the runtime .PP \fBcni\_config\_dir\fP="" Directory containing CNI plugin configuration files .PP \fBcni\_plugin\_dir\fP="" Directories where CNI plugin binaries may be located .PP \fBinfra\_image\fP = "" Infra (pause) container image name for pod infra containers. When running a pod, we start a \fB\fCpause\fR process in a container to hold open the namespaces associated with the pod. This container and process, basically sleep/pause for the lifetime of the pod. .PP \fBinfra\_command\fP="" Command to run the infra container .PP \fBnamespace\fP="" Default libpod namespace. If libpod is joined to a namespace, it will see only containers and pods that were created in the same namespace, and will create new containers and pods in that namespace. The default namespace is "", which corresponds to no namespace. When no namespace is set, all containers and pods are visible. .PP \fBlabel\fP="true|false" Indicates whether the containers should use label separation by default. Can be overridden via \fB\fC\-\-security\-opt label=...\fR on the CLI. .PP \fBnum\_locks\fP="" Number of locks available for containers and pods. Each created container or pod consumes one lock. The default number available is 2048. If this is changed, a lock renumbering must be performed, using the \fB\fCpodman system renumber\fR command. .PP \fBvolume\_path\fP="" Directory where named volumes will be created in using the default volume driver. By default this will be configured relative to where containers/storage stores containers. .PP \fBnetwork\_cmd\_path\fP="" Path to the command binary to use for setting up a network. It is currently only used for setting up a slirp4netns network. If "" is used then the binary is looked up using the $PATH environment variable. .PP \fBevents\_logger\fP="" Default method to use when logging events. Valid values are "file", "journald", and "none". .PP \fBdetach\_keys\fP="" Keys sequence used for detaching a container .SH FILES .PP \fB\fC/usr/share/containers/libpod.conf\fR, default libpod configuration path .PP \fB\fC/etc/containers/libpod.conf\fR, override libpod configuration path .SH HISTORY .PP Apr 2018, Originally compiled by Nathan Williams \[la]nath.e.will@gmail.com\[ra]