mirror of
https://github.com/containers/podman.git
synced 2025-10-12 16:56:32 +08:00
Add default libpod config file
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #430 Approved by: rhatdan
This commit is contained in:
54
libpod.conf
Normal file
54
libpod.conf
Normal file
@ -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"
|
||||||
|
]
|
Reference in New Issue
Block a user