diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-03-01 11:06:12 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-06 01:21:09 +0000 |
commit | 05c76f739c6c9d5237112cc53137842842d56e67 (patch) | |
tree | 135bd3260c50ed43e98731117eb3ad64646e972c /libpod.conf | |
parent | e7296152f822455cf608ee34a164f3550be649ac (diff) | |
download | podman-05c76f739c6c9d5237112cc53137842842d56e67.tar.gz podman-05c76f739c6c9d5237112cc53137842842d56e67.tar.bz2 podman-05c76f739c6c9d5237112cc53137842842d56e67.zip |
Add default libpod config file
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #430
Approved by: rhatdan
Diffstat (limited to 'libpod.conf')
-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" +] |