|
|
b24b4f |
# The containers configuration file specifies all of the available configuration
|
|
|
b24b4f |
# command-line options/flags for container engine tools like Podman & Buildah,
|
|
|
b24b4f |
# but in a TOML format that can be easily modified and versioned.
|
|
|
b24b4f |
|
|
|
b24b4f |
# Please refer to containers.conf(5) for details of all configuration options.
|
|
|
b24b4f |
# Not all container engines implement all of the options.
|
|
|
b24b4f |
# All of the options have hard coded defaults and these options will override
|
|
|
b24b4f |
# the built in defaults. Users can then override these options via the command
|
|
|
b24b4f |
# line. Container engines will read containers.conf files in up to three
|
|
|
b24b4f |
# locations in the following order:
|
|
|
b24b4f |
# 1. /usr/share/containers/containers.conf
|
|
|
b24b4f |
# 2. /etc/containers/containers.conf
|
|
|
b24b4f |
# 3. $HOME/.config/containers/containers.conf (Rootless containers ONLY)
|
|
|
b24b4f |
# Items specified in the latter containers.conf, if they exist, override the
|
|
|
b24b4f |
# previous containers.conf settings, or the default settings.
|
|
|
b24b4f |
|
|
|
b24b4f |
[containers]
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of annotation. Specified as
|
|
|
b24b4f |
# "key = value"
|
|
|
b24b4f |
# If it is empty or commented out, no annotations will be added
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#annotations = []
|
|
|
b24b4f |
|
|
|
b24b4f |
# Used to change the name of the default AppArmor profile of container engine.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#apparmor_profile = "container-default"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default way to to create a cgroup namespace for the container
|
|
|
b24b4f |
# Options are:
|
|
|
b24b4f |
# `private` Create private Cgroup Namespace for the container.
|
|
|
b24b4f |
# `host` Share host Cgroup Namespace with the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#cgroupns = "private"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Control container cgroup configuration
|
|
|
b24b4f |
# Determines whether the container will create CGroups.
|
|
|
b24b4f |
# Options are:
|
|
|
b24b4f |
# `enabled` Enable cgroup support within container
|
|
|
b24b4f |
# `disabled` Disable cgroup support, will inherit cgroups from parent
|
|
|
b24b4f |
# `no-conmon` Do not create a cgroup dedicated to conmon.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#cgroups = "enabled"
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of default capabilities for containers. If it is empty or commented out,
|
|
|
b24b4f |
# the default capabilities defined in the container engine will be added.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
default_capabilities = [
|
|
|
b24b4f |
"NET_RAW",
|
|
|
b24b4f |
"CHOWN",
|
|
|
b24b4f |
"DAC_OVERRIDE",
|
|
|
b24b4f |
"FOWNER",
|
|
|
b24b4f |
"FSETID",
|
|
|
b24b4f |
"KILL",
|
|
|
b24b4f |
"NET_BIND_SERVICE",
|
|
|
b24b4f |
"SETFCAP",
|
|
|
b24b4f |
"SETGID",
|
|
|
b24b4f |
"SETPCAP",
|
|
|
b24b4f |
"SETUID",
|
|
|
b24b4f |
"SYS_CHROOT"
|
|
|
b24b4f |
]
|
|
|
b24b4f |
|
|
|
b24b4f |
# A list of sysctls to be set in containers by default,
|
|
|
b24b4f |
# specified as "name=value",
|
|
|
b24b4f |
# for example:"net.ipv4.ping_group_range=0 0".
|
|
|
b24b4f |
#
|
|
|
b24b4f |
default_sysctls = [
|
|
|
b24b4f |
"net.ipv4.ping_group_range=0 0",
|
|
|
b24b4f |
]
|
|
|
b24b4f |
|
|
|
b24b4f |
# A list of ulimits to be set in containers by default, specified as
|
|
|
b24b4f |
# "<ulimit name>=<soft limit>:<hard limit>", for example:
|
|
|
b24b4f |
# "nofile=1024:2048"
|
|
|
b24b4f |
# See setrlimit(2) for a list of resource names.
|
|
|
b24b4f |
# Any limit not specified here will be inherited from the process launching the
|
|
|
b24b4f |
# container engine.
|
|
|
b24b4f |
# Ulimits has limits for non privileged container engines.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#default_ulimits = [
|
|
|
b24b4f |
# "nofile=1280:2560",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of devices. Specified as
|
|
|
b24b4f |
# "<device-on-host>:<device-on-container>:<permissions>", for example:
|
|
|
b24b4f |
# "/dev/sdc:/dev/xvdc:rwm".
|
|
|
b24b4f |
# If it is empty or commented out, only the default devices will be used
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#devices = []
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of default DNS options to be added to /etc/resolv.conf inside of the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#dns_options = []
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of default DNS search domains to be added to /etc/resolv.conf inside of the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#dns_searches = []
|
|
|
b24b4f |
|
|
|
b24b4f |
# Set default DNS servers.
|
|
|
b24b4f |
# This option can be used to override the DNS configuration passed to the
|
|
|
b24b4f |
# container. The special value "none" can be specified to disable creation of
|
|
|
b24b4f |
# /etc/resolv.conf in the container.
|
|
|
b24b4f |
# The /etc/resolv.conf file in the image will be used without changes.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#dns_servers = []
|
|
|
b24b4f |
|
|
|
b24b4f |
# Environment variable list for the conmon process; used for passing necessary
|
|
|
b24b4f |
# environment variables to conmon or the runtime.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#env = [
|
|
|
b24b4f |
# "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
|
|
b24b4f |
# "TERM=xterm",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
# Pass all host environment variables into the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#env_host = false
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default proxy environment variables passed into the container.
|
|
|
b24b4f |
# The environment variables passed in include:
|
|
|
b24b4f |
# http_proxy, https_proxy, ftp_proxy, no_proxy, and the upper case versions of
|
|
|
b24b4f |
# these. This option is needed when host system uses a proxy but container
|
|
|
b24b4f |
# should not use proxy. Proxy environment variables specified for the container
|
|
|
b24b4f |
# in any other way will override the values passed from the host.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#http_proxy = true
|
|
|
b24b4f |
|
|
|
b24b4f |
# Run an init inside the container that forwards signals and reaps processes.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#init = false
|
|
|
b24b4f |
|
|
|
b24b4f |
# Container init binary, if init=true, this is the init binary to be used for containers.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#init_path = "/usr/libexec/podman/catatonit"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default way to to create an IPC namespace (POSIX SysV IPC) for the container
|
|
|
b24b4f |
# Options are:
|
|
|
b24b4f |
# `private` Create private IPC Namespace for the container.
|
|
|
b24b4f |
# `host` Share host IPC Namespace with the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#ipcns = "private"
|
|
|
b24b4f |
|
|
|
b24b4f |
# keyring tells the container engine whether to create
|
|
|
b24b4f |
# a kernel keyring for use within the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#keyring = true
|
|
|
b24b4f |
|
|
|
b24b4f |
# label tells the container engine whether to use container separation using
|
|
|
b24b4f |
# MAC(SELinux) labeling or not.
|
|
|
b24b4f |
# The label flag is ignored on label disabled systems.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#label = true
|
|
|
b24b4f |
|
|
|
b24b4f |
# Logging driver for the container. Available options: k8s-file and journald.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#log_driver = "k8s-file"
|
|
|
b24b4f |
log_driver = "k8s-file"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Maximum size allowed for the container log file. Negative numbers indicate
|
|
|
b24b4f |
# that no size limit is imposed. If positive, it must be >= 8192 to match or
|
|
|
b24b4f |
# exceed conmon's read buffer. The file is truncated and re-opened so the
|
|
|
b24b4f |
# limit is never exceeded.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#log_size_max = -1
|
|
|
b24b4f |
|
|
|
b24b4f |
# Specifies default format tag for container log messages.
|
|
|
b24b4f |
# This is useful for creating a specific tag for container log messages.
|
|
|
b24b4f |
# Containers logs default to truncated container ID as a tag.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#log_tag = ""
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default way to to create a Network namespace for the container
|
|
|
b24b4f |
# Options are:
|
|
|
b24b4f |
# `private` Create private Network Namespace for the container.
|
|
|
b24b4f |
# `host` Share host Network Namespace with the container.
|
|
|
b24b4f |
# `none` Containers do not use the network
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#netns = "private"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Create /etc/hosts for the container. By default, container engine manage
|
|
|
b24b4f |
# /etc/hosts, automatically adding the container's own IP address.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#no_hosts = false
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default way to to create a PID namespace for the container
|
|
|
b24b4f |
# Options are:
|
|
|
b24b4f |
# `private` Create private PID Namespace for the container.
|
|
|
b24b4f |
# `host` Share host PID Namespace with the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#pidns = "private"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Maximum number of processes allowed in a container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#pids_limit = 2048
|
|
|
b24b4f |
|
|
|
b24b4f |
# Copy the content from the underlying image into the newly created volume
|
|
|
b24b4f |
# when the container is created instead of when it is started. If false,
|
|
|
b24b4f |
# the container engine will not copy the content until the container is started.
|
|
|
b24b4f |
# Setting it to true may have negative performance implications.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#prepare_volume_on_create = false
|
|
|
b24b4f |
|
|
|
b24b4f |
# Path to the seccomp.json profile which is used as the default seccomp profile
|
|
|
b24b4f |
# for the runtime.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#seccomp_profile = "/usr/share/containers/seccomp.json"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Size of /dev/shm. Specified as <number><unit>.
|
|
|
b24b4f |
# Unit is optional, values:
|
|
|
b24b4f |
# b (bytes), k (kilobytes), m (megabytes), or g (gigabytes).
|
|
|
b24b4f |
# If the unit is omitted, the system uses bytes.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#shm_size = "65536k"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Set timezone in container. Takes IANA timezones as well as "local",
|
|
|
b24b4f |
# which sets the timezone in the container to match the host machine.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#tz = ""
|
|
|
b24b4f |
|
|
|
b24b4f |
# Set umask inside the container
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#umask = "0022"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default way to to create a User namespace for the container
|
|
|
b24b4f |
# Options are:
|
|
|
b24b4f |
# `auto` Create unique User Namespace for the container.
|
|
|
b24b4f |
# `host` Share host User Namespace with the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#userns = "host"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Number of UIDs to allocate for the automatic container creation.
|
|
|
b24b4f |
# UIDs are allocated from the "container" UIDs listed in
|
|
|
b24b4f |
# /etc/subuid & /etc/subgid
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#userns_size = 65536
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default way to to create a UTS namespace for the container
|
|
|
b24b4f |
# Options are:
|
|
|
b24b4f |
# `private` Create private UTS Namespace for the container.
|
|
|
b24b4f |
# `host` Share host UTS Namespace with the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#utsns = "private"
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of volumes. Specified as
|
|
|
b24b4f |
# "<directory-on-host>:<directory-in-container>:<options>", for example:
|
|
|
b24b4f |
# "/db:/var/lib/db:ro".
|
|
|
b24b4f |
# If it is empty or commented out, no volumes will be added
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#volumes = []
|
|
|
b24b4f |
|
|
|
b24b4f |
[secrets]
|
|
|
b24b4f |
#driver = "file"
|
|
|
b24b4f |
|
|
|
b24b4f |
[secrets.opts]
|
|
|
b24b4f |
#root = "/example/directory"
|
|
|
b24b4f |
|
|
|
b24b4f |
[network]
|
|
|
b24b4f |
|
|
|
b24b4f |
# Network backend determines what network driver will be used to set up and tear down container networks.
|
|
|
b24b4f |
# Valid values are "cni" and "netavark".
|
|
|
b24b4f |
# The default value is empty which means that it will automatically choose CNI or netavark. If there are
|
|
|
b24b4f |
# already containers/images or CNI networks preset it will choose CNI.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
# Before changing this value all containers must be stopped otherwise it is likely that
|
|
|
b24b4f |
# iptables rules and network interfaces might leak on the host. A reboot will fix this.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#network_backend = ""
|
|
|
b24b4f |
network_backend = "cni"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Path to directory where CNI plugin binaries are located.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#cni_plugin_dirs = [
|
|
|
b24b4f |
# "/usr/local/libexec/cni",
|
|
|
b24b4f |
# "/usr/libexec/cni",
|
|
|
b24b4f |
# "/usr/local/lib/cni",
|
|
|
b24b4f |
# "/usr/lib/cni",
|
|
|
b24b4f |
# "/opt/cni/bin",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
# The network name of the default network to attach pods to.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#default_network = "podman"
|
|
|
b24b4f |
|
|
|
b24b4f |
# The default subnet for the default network given in default_network.
|
|
|
b24b4f |
# If a network with that name does not exist, a new network using that name and
|
|
|
b24b4f |
# this subnet will be created.
|
|
|
b24b4f |
# Must be a valid IPv4 CIDR prefix.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#default_subnet = "10.88.0.0/16"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Path to the directory where network configuration files are located.
|
|
|
b24b4f |
# For the CNI backend the default is "/etc/cni/net.d" as root
|
|
|
b24b4f |
# and "$HOME/.config/cni/net.d" as rootless.
|
|
|
b24b4f |
# For the netavark backend "/etc/containers/networks" is used as root
|
|
|
b24b4f |
# and "$graphroot/networks" as rootless.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#network_config_dir = "/etc/cni/net.d/"
|
|
|
b24b4f |
|
|
|
b24b4f |
[engine]
|
|
|
b24b4f |
# Index to the active service
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#active_service = production
|
|
|
b24b4f |
|
|
|
b24b4f |
# The compression format to use when pushing an image.
|
|
|
b24b4f |
# Valid options are: `gzip`, `zstd` and `zstd:chunked`.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#compression_format = "gzip"
|
|
|
b24b4f |
|
|
|
b24b4f |
|
|
|
b24b4f |
# Cgroup management implementation used for the runtime.
|
|
|
b24b4f |
# Valid options "systemd" or "cgroupfs"
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#cgroup_manager = "systemd"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Environment variables to pass into conmon
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#conmon_env_vars = [
|
|
|
b24b4f |
# "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
# Paths to look for the conmon container manager binary
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#conmon_path = [
|
|
|
b24b4f |
# "/usr/libexec/podman/conmon",
|
|
|
b24b4f |
# "/usr/local/libexec/podman/conmon",
|
|
|
b24b4f |
# "/usr/local/lib/podman/conmon",
|
|
|
b24b4f |
# "/usr/bin/conmon",
|
|
|
b24b4f |
# "/usr/sbin/conmon",
|
|
|
b24b4f |
# "/usr/local/bin/conmon",
|
|
|
b24b4f |
# "/usr/local/sbin/conmon"
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
# Enforces using docker.io for completing short names in Podman's compatibility
|
|
|
b24b4f |
# REST API. Note that this will ignore unqualified-search-registries and
|
|
|
b24b4f |
# short-name aliases defined in containers-registries.conf(5).
|
|
|
b24b4f |
#compat_api_enforce_docker_hub = true
|
|
|
b24b4f |
|
|
|
b24b4f |
# Specify the keys sequence used to detach a container.
|
|
|
b24b4f |
# Format is a single character [a-Z] or a comma separated sequence of
|
|
|
b24b4f |
# `ctrl-<value>`, where `<value>` is one of:
|
|
|
b24b4f |
# `a-z`, `@`, `^`, `[`, `\`, `]`, `^` or `_`
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#detach_keys = "ctrl-p,ctrl-q"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Determines whether engine will reserve ports on the host when they are
|
|
|
b24b4f |
# forwarded to containers. When enabled, when ports are forwarded to containers,
|
|
|
b24b4f |
# ports are held open by as long as the container is running, ensuring that
|
|
|
b24b4f |
# they cannot be reused by other programs on the host. However, this can cause
|
|
|
b24b4f |
# significant memory usage if a container has many ports forwarded to it.
|
|
|
b24b4f |
# Disabling this can save memory.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#enable_port_reservation = true
|
|
|
b24b4f |
|
|
|
b24b4f |
# Environment variables to be used when running the container engine (e.g., Podman, Buildah).
|
|
|
b24b4f |
# For example "http_proxy=internal.proxy.company.com".
|
|
|
b24b4f |
# Note these environment variables will not be used within the container.
|
|
|
b24b4f |
# Set the env section under [containers] table, if you want to set environment variables for the container.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#env = []
|
|
|
b24b4f |
|
|
|
b24b4f |
# Define where event logs will be stored, when events_logger is "file".
|
|
|
b24b4f |
#events_logfile_path=""
|
|
|
b24b4f |
|
|
|
b24b4f |
# Selects which logging mechanism to use for container engine events.
|
|
|
b24b4f |
# Valid values are `journald`, `file` and `none`.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#events_logger = "journald"
|
|
|
b24b4f |
events_logger = "file"
|
|
|
b24b4f |
|
|
|
b24b4f |
# A is a list of directories which are used to search for helper binaries.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#helper_binaries_dir = [
|
|
|
b24b4f |
# "/usr/local/libexec/podman",
|
|
|
b24b4f |
# "/usr/local/lib/podman",
|
|
|
b24b4f |
# "/usr/libexec/podman",
|
|
|
b24b4f |
# "/usr/lib/podman",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
# Path to OCI hooks directories for automatically executed hooks.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#hooks_dir = [
|
|
|
b24b4f |
# "/usr/share/containers/oci/hooks.d",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
# Manifest Type (oci, v2s2, or v2s1) to use when pulling, pushing, building
|
|
|
b24b4f |
# container images. By default image pulled and pushed match the format of the
|
|
|
b24b4f |
# source image. Building/committing defaults to OCI.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#image_default_format = ""
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default transport method for pulling and pushing for images
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#image_default_transport = "docker://"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Maximum number of image layers to be copied (pulled/pushed) simultaneously.
|
|
|
b24b4f |
# Not setting this field, or setting it to zero, will fall back to containers/image defaults.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#image_parallel_copies = 0
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default command to run the infra container
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#infra_command = "/pause"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Infra (pause) container image name for pod infra containers. When running a
|
|
|
b24b4f |
# pod, we start a `pause` process in a container to hold open the namespaces
|
|
|
b24b4f |
# associated with the pod. This container does nothing other then sleep,
|
|
|
b24b4f |
# reserving the pods resources for the lifetime of the pod. By default container
|
|
|
b24b4f |
# engines run a builtin container using the pause executable. If you want override
|
|
|
b24b4f |
# specify an image to pull.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#infra_image = ""
|
|
|
b24b4f |
|
|
|
b24b4f |
# Specify the locking mechanism to use; valid values are "shm" and "file".
|
|
|
b24b4f |
# Change the default only if you are sure of what you are doing, in general
|
|
|
b24b4f |
# "file" is useful only on platforms where cgo is not available for using the
|
|
|
b24b4f |
# faster "shm" lock type. You may need to run "podman system renumber" after
|
|
|
b24b4f |
# you change the lock type.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#lock_type** = "shm"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Indicates if Podman is running inside a VM via Podman Machine.
|
|
|
b24b4f |
# Podman uses this value to do extra setup around networking from the
|
|
|
b24b4f |
# container inside the VM to to host.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#machine_enabled = false
|
|
|
b24b4f |
|
|
|
b24b4f |
# MultiImageArchive - if true, the container engine allows for storing archives
|
|
|
b24b4f |
# (e.g., of the docker-archive transport) with multiple images. By default,
|
|
|
b24b4f |
# Podman creates single-image archives.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#multi_image_archive = "false"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default engine namespace
|
|
|
b24b4f |
# If engine is joined to a namespace, it will see only containers and pods
|
|
|
b24b4f |
# that were created in the same namespace, and will create new containers and
|
|
|
b24b4f |
# pods in that namespace.
|
|
|
b24b4f |
# The default namespace is "", which corresponds to no namespace. When no
|
|
|
b24b4f |
# namespace is set, all containers and pods are visible.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#namespace = ""
|
|
|
b24b4f |
|
|
|
b24b4f |
# Path to the slirp4netns binary
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#network_cmd_path = ""
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default options to pass to the slirp4netns binary.
|
|
|
b24b4f |
# For example "allow_host_loopback=true"
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#network_cmd_options = ["enable_ipv6=true",]
|
|
|
b24b4f |
|
|
|
b24b4f |
# Whether to use chroot instead of pivot_root in the runtime
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#no_pivot_root = false
|
|
|
b24b4f |
|
|
|
b24b4f |
# Number of locks available for containers and pods.
|
|
|
b24b4f |
# If this is changed, a lock renumber must be performed (e.g. with the
|
|
|
b24b4f |
# 'podman system renumber' command).
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#num_locks = 2048
|
|
|
b24b4f |
|
|
|
b24b4f |
# Whether to pull new image before running a container
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#pull_policy = "missing"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Indicates whether the application should be running in remote mode. This flag modifies the
|
|
|
b24b4f |
# --remote option on container engines. Setting the flag to true will default
|
|
|
b24b4f |
# `podman --remote=true` for access to the remote Podman service.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#remote = false
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default OCI runtime
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#runtime = "crun"
|
|
|
b24b4f |
runtime = "runc"
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of the OCI runtimes that support --format=json. When json is supported
|
|
|
b24b4f |
# engine will use it for reporting nicer errors.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#runtime_supports_json = ["crun", "runc", "kata", "runsc", "krun"]
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of the OCI runtimes that supports running containers with KVM Separation.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#runtime_supports_kvm = ["kata", "krun"]
|
|
|
b24b4f |
|
|
|
b24b4f |
# List of the OCI runtimes that supports running containers without cgroups.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#runtime_supports_nocgroups = ["crun", "krun"]
|
|
|
b24b4f |
|
|
|
b24b4f |
# Default location for storing temporary container image content. Can be overridden with the TMPDIR environment
|
|
|
b24b4f |
# variable. If you specify "storage", then the location of the
|
|
|
b24b4f |
# container/storage tmp directory will be used.
|
|
|
b24b4f |
# image_copy_tmp_dir="/var/tmp"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Number of seconds to wait without a connection
|
|
|
b24b4f |
# before the `podman system service` times out and exits
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#service_timeout = 5
|
|
|
b24b4f |
|
|
|
b24b4f |
# Directory for persistent engine files (database, etc)
|
|
|
b24b4f |
# By default, this will be configured relative to where the containers/storage
|
|
|
b24b4f |
# stores containers
|
|
|
b24b4f |
# Uncomment to change location from this default
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#static_dir = "/var/lib/containers/storage/libpod"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Number of seconds to wait for container to exit before sending kill signal.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#stop_timeout = 10
|
|
|
b24b4f |
|
|
|
b24b4f |
# map of service destinations
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#[service_destinations]
|
|
|
b24b4f |
# [service_destinations.production]
|
|
|
b24b4f |
# URI to access the Podman service
|
|
|
b24b4f |
# Examples:
|
|
|
b24b4f |
# rootless "unix://run/user/$UID/podman/podman.sock" (Default)
|
|
|
b24b4f |
# rootfull "unix://run/podman/podman.sock (Default)
|
|
|
b24b4f |
# remote rootless ssh://engineering.lab.company.com/run/user/1000/podman/podman.sock
|
|
|
b24b4f |
# remote rootfull ssh://root@10.10.1.136:22/run/podman/podman.sock
|
|
|
b24b4f |
#
|
|
|
b24b4f |
# uri = "ssh://user@production.example.com/run/user/1001/podman/podman.sock"
|
|
|
b24b4f |
# Path to file containing ssh identity key
|
|
|
b24b4f |
# identity = "~/.ssh/id_rsa"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Directory for temporary files. Must be tmpfs (wiped after reboot)
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#tmp_dir = "/run/libpod"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Directory for libpod named volumes.
|
|
|
b24b4f |
# By default, this will be configured relative to where containers/storage
|
|
|
b24b4f |
# stores containers.
|
|
|
b24b4f |
# Uncomment to change location from this default.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#volume_path = "/var/lib/containers/storage/volumes"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Paths to look for a valid OCI runtime (crun, runc, kata, runsc, krun, etc)
|
|
|
b24b4f |
[engine.runtimes]
|
|
|
b24b4f |
#crun = [
|
|
|
b24b4f |
# "/usr/bin/crun",
|
|
|
b24b4f |
# "/usr/sbin/crun",
|
|
|
b24b4f |
# "/usr/local/bin/crun",
|
|
|
b24b4f |
# "/usr/local/sbin/crun",
|
|
|
b24b4f |
# "/sbin/crun",
|
|
|
b24b4f |
# "/bin/crun",
|
|
|
b24b4f |
# "/run/current-system/sw/bin/crun",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
#kata = [
|
|
|
b24b4f |
# "/usr/bin/kata-runtime",
|
|
|
b24b4f |
# "/usr/sbin/kata-runtime",
|
|
|
b24b4f |
# "/usr/local/bin/kata-runtime",
|
|
|
b24b4f |
# "/usr/local/sbin/kata-runtime",
|
|
|
b24b4f |
# "/sbin/kata-runtime",
|
|
|
b24b4f |
# "/bin/kata-runtime",
|
|
|
b24b4f |
# "/usr/bin/kata-qemu",
|
|
|
b24b4f |
# "/usr/bin/kata-fc",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
#runc = [
|
|
|
b24b4f |
# "/usr/bin/runc",
|
|
|
b24b4f |
# "/usr/sbin/runc",
|
|
|
b24b4f |
# "/usr/local/bin/runc",
|
|
|
b24b4f |
# "/usr/local/sbin/runc",
|
|
|
b24b4f |
# "/sbin/runc",
|
|
|
b24b4f |
# "/bin/runc",
|
|
|
b24b4f |
# "/usr/lib/cri-o-runc/sbin/runc",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
#runsc = [
|
|
|
b24b4f |
# "/usr/bin/runsc",
|
|
|
b24b4f |
# "/usr/sbin/runsc",
|
|
|
b24b4f |
# "/usr/local/bin/runsc",
|
|
|
b24b4f |
# "/usr/local/sbin/runsc",
|
|
|
b24b4f |
# "/bin/runsc",
|
|
|
b24b4f |
# "/sbin/runsc",
|
|
|
b24b4f |
# "/run/current-system/sw/bin/runsc",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
#krun = [
|
|
|
b24b4f |
# "/usr/bin/krun",
|
|
|
b24b4f |
# "/usr/local/bin/krun",
|
|
|
b24b4f |
#]
|
|
|
b24b4f |
|
|
|
b24b4f |
[engine.volume_plugins]
|
|
|
b24b4f |
#testplugin = "/run/podman/plugins/test.sock"
|
|
|
b24b4f |
|
|
|
b24b4f |
[machine]
|
|
|
b24b4f |
# Number of CPU's a machine is created with.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#cpus=1
|
|
|
b24b4f |
|
|
|
b24b4f |
# The size of the disk in GB created when init-ing a podman-machine VM.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#disk_size=10
|
|
|
b24b4f |
|
|
|
b24b4f |
# The image used when creating a podman-machine VM.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#image = "testing"
|
|
|
b24b4f |
|
|
|
b24b4f |
# Memory in MB a machine is created with.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#memory=2048
|
|
|
b24b4f |
|
|
|
b24b4f |
# The username to use and create on the podman machine OS for rootless
|
|
|
b24b4f |
# container access.
|
|
|
b24b4f |
#
|
|
|
b24b4f |
#user = "core"
|
|
|
b24b4f |
|
|
|
b24b4f |
# The [machine] table MUST be the last entry in this file.
|
|
|
b24b4f |
# (Unless another table is added)
|
|
|
b24b4f |
# TOML does not provide a way to end a table other than a further table being
|
|
|
b24b4f |
# defined, so every key hereafter will be part of [machine] and not the
|
|
|
b24b4f |
# main config.
|