diff options
-rw-r--r-- | libpod.conf | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/libpod.conf b/libpod.conf new file mode 100644 index 000000000..870c40663 --- /dev/null +++ b/libpod.conf @@ -0,0 +1,54 @@ +# libpod.conf is the default configuration file for all tools using libpod to +# manage containers + +# Default transport method for pulling and pushing for images +image_default_transport = "docker://" + +# Paths to look for a valid OCI runtime (runc, runv, etc) +runtime_path = [ + "/usr/bin/runc", + "/usr/sbin/runc", + "/sbin/runc", + "/bin/runc", + "/usr/lib/cri-o-runc/sbin/runc" +] + +# Paths to look for the Conmon container manager binary +conmon_path = [ + "/usr/libexec/crio/conmon", + "/usr/local/libexec/crio/conmon", + "/usr/bin/conmon", + "/usr/sbin/conmon", + "/usr/lib/crio/bin/conmon" +] + +# Environment variables to pass into conmon +conmon_env_vars = [ + "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +] + +# CGroup Manager - valid values are "systemd" and "cgroupfs" +cgroup_manager = "cgroupfs" + +# Directory for persistent libpod files (database, etc) +static_dir = "/var/lib/containers/storage/libpod" + +# Directory for temporary files. Must be tmpfs (wiped after reboot) +tmp_dir = "/var/run/libpod" + +# Maximum size of log files (in bytes) +# -1 is unlimited +max_log_size = -1 + +# Whether to use chroot instead of pivot_root in the runtime +no_pivot_root = false + +# Directory containing CNI plugin configuration files +cni_config_dir = "/etc/cni/net.d/" + +# Directories where the CNI plugin binaries may be located +cni_plugin_dir = [ + "/usr/libexec/cni", + "/usr/lib/cni", + "/opt/cni/bin" +] |