| 1 |
# The containers configuration file specifies all of the available configuration |
| 2 |
# command-line options/flags for container engine tools like Podman & Buildah, |
| 3 |
# but in a TOML format that can be easily modified and versioned. |
| 4 |
|
| 5 |
# Please refer to containers.conf(5) for details of all configuration options. |
| 6 |
# Not all container engines implement all of the options. |
| 7 |
# All of the options have hard coded defaults and these options will override |
| 8 |
# the built in defaults. Users can then override these options via the command |
| 9 |
# line. Container engines will read containers.conf files in up to three |
| 10 |
# locations in the following order: |
| 11 |
# 1. /usr/local/share/containers/containers.conf |
| 12 |
# 2. /usr/local/etc/containers/containers.conf |
| 13 |
# 3. $HOME/.config/containers/containers.conf (Rootless containers ONLY) |
| 14 |
# Items specified in the latter containers.conf, if they exist, override the |
| 15 |
# previous containers.conf settings, or the default settings. |
| 16 |
|
| 17 |
[containers] |
| 18 |
|
| 19 |
# List of annotation. Specified as |
| 20 |
# "key = value" |
| 21 |
# If it is empty or commented out, no annotations will be added |
| 22 |
# |
| 23 |
#annotations = [] |
| 24 |
|
| 25 |
# The hosts entries from the base hosts file are added to the containers hosts |
| 26 |
# file. This must be either an absolute path or as special values "image" which |
| 27 |
# uses the hosts file from the container image or "none" which means |
| 28 |
# no base hosts file is used. The default is "" which will use /etc/hosts. |
| 29 |
# |
| 30 |
#base_hosts_file = "" |
| 31 |
|
| 32 |
# When no hostname is set for a container, use the container's name, with |
| 33 |
# characters not valid for a hostname removed, as the hostname instead of |
| 34 |
# the first 12 characters of the container's ID. |
| 35 |
# |
| 36 |
#container_name_as_hostname = false |
| 37 |
|
| 38 |
# The database backend of Podman. Supported values are "" (default), "boltdb" |
| 39 |
# and "sqlite". An empty value means it will check whenever a boltdb already |
| 40 |
# exists and use it when it does, otherwise it will use sqlite as default |
| 41 |
# (e.g. new installs). This allows for backwards compatibility with older versions. |
| 42 |
# Please run `podman-system-reset` prior to changing the database |
| 43 |
# backend of an existing deployment, to make sure Podman can operate correctly. |
| 44 |
# |
| 45 |
#database_backend = "" |
| 46 |
|
| 47 |
# List of default capabilities for containers. If it is empty or commented out, |
| 48 |
# the default capabilities defined in the container engine will be added. |
| 49 |
# |
| 50 |
default_capabilities = [ |
| 51 |
"CHOWN", |
| 52 |
"DAC_OVERRIDE", |
| 53 |
"FOWNER", |
| 54 |
"FSETID", |
| 55 |
"KILL", |
| 56 |
"NET_BIND_SERVICE", |
| 57 |
"SETFCAP", |
| 58 |
"SETGID", |
| 59 |
"SETPCAP", |
| 60 |
"SETUID", |
| 61 |
"SYS_CHROOT" |
| 62 |
] |
| 63 |
|
| 64 |
# A list of sysctls to be set in containers by default, |
| 65 |
# specified as "name=value", |
| 66 |
# for example:"net.ipv4.ping_group_range=0 0". |
| 67 |
# |
| 68 |
default_sysctls = [ |
| 69 |
"net.ipv4.ping_group_range=0 0", |
| 70 |
] |
| 71 |
|
| 72 |
# A list of ulimits to be set in containers by default, specified as |
| 73 |
# "<ulimit name>=<soft limit>:<hard limit>", for example: |
| 74 |
# "nofile=1024:2048" |
| 75 |
# See setrlimit(2) for a list of resource names. |
| 76 |
# Any limit not specified here will be inherited from the process launching the |
| 77 |
# container engine. |
| 78 |
# Ulimits has limits for non privileged container engines. |
| 79 |
# |
| 80 |
#default_ulimits = [ |
| 81 |
# "nofile=1280:2560", |
| 82 |
#] |
| 83 |
|
| 84 |
# List of devices. Specified as |
| 85 |
# "<device-on-host>:<device-on-container>:<permissions>", for example: |
| 86 |
# "/dev/sdc:/dev/xvdc:rwm". |
| 87 |
# If it is empty or commented out, only the default devices will be used |
| 88 |
# |
| 89 |
#devices = [] |
| 90 |
|
| 91 |
# List of default DNS options to be added to /etc/resolv.conf inside of the container. |
| 92 |
# |
| 93 |
#dns_options = [] |
| 94 |
|
| 95 |
# List of default DNS search domains to be added to /etc/resolv.conf inside of the container. |
| 96 |
# |
| 97 |
#dns_searches = [] |
| 98 |
|
| 99 |
# Set default DNS servers. |
| 100 |
# This option can be used to override the DNS configuration passed to the |
| 101 |
# container. The special value "none" can be specified to disable creation of |
| 102 |
# /etc/resolv.conf in the container. |
| 103 |
# The /etc/resolv.conf file in the image will be used without changes. |
| 104 |
# |
| 105 |
#dns_servers = [] |
| 106 |
|
| 107 |
# Environment variable list for the conmon process; used for passing necessary |
| 108 |
# environment variables to conmon or the runtime. |
| 109 |
# |
| 110 |
#env = [ |
| 111 |
# "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", |
| 112 |
#] |
| 113 |
|
| 114 |
# Pass all host environment variables into the container. |
| 115 |
# |
| 116 |
#env_host = false |
| 117 |
|
| 118 |
# Set the ip for the host.containers.internal entry in the containers /etc/hosts |
| 119 |
# file. This can be set to "none" to disable adding this entry. By default it |
| 120 |
# will automatically choose the host ip. |
| 121 |
# |
| 122 |
# NOTE: When using podman machine this entry will never be added to the containers |
| 123 |
# hosts file instead the gvproxy dns resolver will resolve this hostname. Therefore |
| 124 |
# it is not possible to disable the entry in this case. |
| 125 |
# |
| 126 |
#host_containers_internal_ip = "" |
| 127 |
|
| 128 |
# Default proxy environment variables passed into the container. |
| 129 |
# The environment variables passed in include: |
| 130 |
# http_proxy, https_proxy, ftp_proxy, no_proxy, and the upper case versions of |
| 131 |
# these. This option is needed when host system uses a proxy but container |
| 132 |
# should not use proxy. Proxy environment variables specified for the container |
| 133 |
# in any other way will override the values passed from the host. |
| 134 |
# |
| 135 |
#http_proxy = true |
| 136 |
|
| 137 |
# Run an init inside the container that forwards signals and reaps processes. |
| 138 |
# |
| 139 |
#init = false |
| 140 |
|
| 141 |
# Container init binary, if init=true, this is the init binary to be used for containers. |
| 142 |
# If this option is not set catatonit is searched in the directories listed under |
| 143 |
# the helper_binaries_dir option. It is recommended to just install catatonit |
| 144 |
# there instead of configuring this option here. |
| 145 |
# |
| 146 |
#init_path = "/usr/local/libexec/podman/catatonit" |
| 147 |
|
| 148 |
# Default way to to create an IPC namespace (POSIX SysV IPC) for the container |
| 149 |
# Options are: |
| 150 |
# "host" Share host IPC Namespace with the container. |
| 151 |
# "none" Create shareable IPC Namespace for the container without a private /dev/shm. |
| 152 |
# "private" Create private IPC Namespace for the container, other containers are not allowed to share it. |
| 153 |
# "shareable" Create shareable IPC Namespace for the container. |
| 154 |
# |
| 155 |
#ipcns = "shareable" |
| 156 |
|
| 157 |
# keyring tells the container engine whether to create |
| 158 |
# a kernel keyring for use within the container. |
| 159 |
# |
| 160 |
#keyring = true |
| 161 |
|
| 162 |
# label tells the container engine whether to use container separation using |
| 163 |
# MAC(SELinux) labeling or not. |
| 164 |
# The label flag is ignored on label disabled systems. |
| 165 |
# |
| 166 |
#label = true |
| 167 |
|
| 168 |
# Logging driver for the container. Available options: k8s-file and journald. |
| 169 |
# |
| 170 |
#log_driver = "k8s-file" |
| 171 |
|
| 172 |
# Default path for container logs to be stored in. When empty, logs will be stored |
| 173 |
# in the container's default storage and removed when the container is removed. |
| 174 |
# A subdirectory named with the container ID will be created under the specified |
| 175 |
# path, and the log file will have the default name `ctr.log` within that directory. |
| 176 |
# This option can be overridden by the `--log-opt` flag. |
| 177 |
# |
| 178 |
#log_path = "" |
| 179 |
|
| 180 |
# Maximum size allowed for the container log file. Negative numbers indicate |
| 181 |
# that no size limit is imposed. If positive, it must be >= 8192 to match or |
| 182 |
# exceed conmon's read buffer. The file is truncated and re-opened so the |
| 183 |
# limit is never exceeded. |
| 184 |
# |
| 185 |
#log_size_max = -1 |
| 186 |
|
| 187 |
# Specifies default format tag for container log messages. |
| 188 |
# This is useful for creating a specific tag for container log messages. |
| 189 |
# Containers logs default to truncated container ID as a tag. |
| 190 |
# |
| 191 |
#log_tag = "" |
| 192 |
|
| 193 |
# Default way to create a NET namespace for the container. |
| 194 |
# The option is mapped to the **--network** argument for the podman commands, it accepts the same values as that option. |
| 195 |
# For example it can be set to `bridge`, `host`, `none`, `pasta` and more, see the podman-create(1) |
| 196 |
# manual for all available options. |
| 197 |
# |
| 198 |
#netns = "" |
| 199 |
|
| 200 |
# Create /etc/hosts for the container. By default, container engine manage |
| 201 |
# /etc/hosts, automatically adding the container's own IP address. |
| 202 |
# |
| 203 |
#no_hosts = false |
| 204 |
|
| 205 |
# Default way to to create a PID namespace for the container |
| 206 |
# Options are: |
| 207 |
# `private` Create private PID Namespace for the container. |
| 208 |
# `host` Share host PID Namespace with the container. |
| 209 |
# |
| 210 |
#pidns = "private" |
| 211 |
|
| 212 |
# Maximum number of processes allowed in a container. |
| 213 |
# |
| 214 |
#pids_limit = 2048 |
| 215 |
|
| 216 |
# Copy the content from the underlying image into the newly created volume |
| 217 |
# when the container is created instead of when it is started. If false, |
| 218 |
# the container engine will not copy the content until the container is started. |
| 219 |
# Setting it to true may have negative performance implications. |
| 220 |
# |
| 221 |
#prepare_volume_on_create = false |
| 222 |
|
| 223 |
# Give extended privileges to all containers. A privileged container turns off |
| 224 |
# the security features that isolate the container from the host. Dropped |
| 225 |
# Capabilities, limited devices, read-only mount points, Apparmor/SELinux |
| 226 |
# separation, and Seccomp filters are all disabled. Due to the disabled |
| 227 |
# security features the privileged field should almost never be set as |
| 228 |
# containers can easily break out of confinment. |
| 229 |
# |
| 230 |
# Containers running in a user namespace (e.g., rootless containers) cannot |
| 231 |
# have more privileges than the user that launched them. |
| 232 |
# |
| 233 |
#privileged = false |
| 234 |
|
| 235 |
# Set timezone in container. Takes IANA timezones as well as "local", |
| 236 |
# which sets the timezone in the container to match the host machine. |
| 237 |
# |
| 238 |
#tz = "" |
| 239 |
|
| 240 |
# Set umask inside the container |
| 241 |
# |
| 242 |
#umask = "0022" |
| 243 |
|
| 244 |
# Default way to to create a User namespace for the container |
| 245 |
# Options are: |
| 246 |
# `auto` Create unique User Namespace for the container. |
| 247 |
# `host` Share host User Namespace with the container. |
| 248 |
# |
| 249 |
#userns = "host" |
| 250 |
|
| 251 |
# Default way to to create a UTS namespace for the container |
| 252 |
# Options are: |
| 253 |
# `private` Create private UTS Namespace for the container. |
| 254 |
# `host` Share host UTS Namespace with the container. |
| 255 |
# |
| 256 |
#utsns = "private" |
| 257 |
|
| 258 |
# List of volumes. Specified as |
| 259 |
# "<directory-on-host>:<directory-in-container>:<options>", for example: |
| 260 |
# "/db:/var/lib/db:ro". |
| 261 |
# If it is empty or commented out, no volumes will be added |
| 262 |
# |
| 263 |
#volumes = [] |
| 264 |
|
| 265 |
[secrets] |
| 266 |
#driver = "file" |
| 267 |
|
| 268 |
[secrets.opts] |
| 269 |
#root = "/example/directory" |
| 270 |
|
| 271 |
[network] |
| 272 |
|
| 273 |
# Network backend determines what network driver will be used to set up and tear down container networks. |
| 274 |
# Valid values are "cni" and "netavark". |
| 275 |
# The default value is empty which means that it will automatically choose CNI or netavark. If there are |
| 276 |
# already containers/images or CNI networks preset it will choose CNI. |
| 277 |
# |
| 278 |
# Before changing this value all containers must be stopped otherwise it is likely that |
| 279 |
# iptables rules and network interfaces might leak on the host. A reboot will fix this. |
| 280 |
# |
| 281 |
#network_backend = "" |
| 282 |
|
| 283 |
# Path to directory where CNI plugin binaries are located. |
| 284 |
# |
| 285 |
#cni_plugin_dirs = [ |
| 286 |
# "/usr/local/libexec/cni", |
| 287 |
# "/usr/libexec/cni", |
| 288 |
# "/usr/local/lib/cni", |
| 289 |
# "/usr/lib/cni", |
| 290 |
# "/opt/cni/bin", |
| 291 |
#] |
| 292 |
|
| 293 |
# List of directories that will be searched for netavark plugins. |
| 294 |
# |
| 295 |
#netavark_plugin_dirs = [ |
| 296 |
# "/usr/local/libexec/netavark", |
| 297 |
# "/usr/libexec/netavark", |
| 298 |
# "/usr/local/lib/netavark", |
| 299 |
# "/usr/lib/netavark", |
| 300 |
#] |
| 301 |
|
| 302 |
# The name of the default network as seen in `podman network ls`. This option only effects the network assignment when |
| 303 |
# the bridge network mode is selected, i.e. `--network bridge`. It is the default for rootful containers but not as |
| 304 |
# rootless. To change the default network mode use the **netns** option under the `[containers]` table. |
| 305 |
# |
| 306 |
# Note: This should not be changed while you have any containers using this network. |
| 307 |
# |
| 308 |
#default_network = "podman" |
| 309 |
|
| 310 |
# The default subnet for the default network given in default_network. |
| 311 |
# |
| 312 |
# Note: This should not be changed if any containers are currently running on the default network. |
| 313 |
# |
| 314 |
#default_subnet = "10.88.0.0/16" |
| 315 |
|
| 316 |
# DefaultSubnetPools is a list of subnets and size which are used to |
| 317 |
# allocate subnets automatically for podman network create. |
| 318 |
# It will iterate through the list and will pick the first free subnet |
| 319 |
# with the given size. This is only used for ipv4 subnets, ipv6 subnets |
| 320 |
# are always assigned randomly. |
| 321 |
# |
| 322 |
#default_subnet_pools = [ |
| 323 |
# {"base" = "10.89.0.0/16", "size" = 24}, |
| 324 |
# {"base" = "10.90.0.0/15", "size" = 24}, |
| 325 |
# {"base" = "10.92.0.0/14", "size" = 24}, |
| 326 |
# {"base" = "10.96.0.0/11", "size" = 24}, |
| 327 |
# {"base" = "10.128.0.0/9", "size" = 24}, |
| 328 |
#] |
| 329 |
|
| 330 |
# Path to the directory where network configuration files are located. |
| 331 |
# For the CNI backend the default is "/etc/cni/net.d" as root |
| 332 |
# and "$HOME/.config/cni/net.d" as rootless. |
| 333 |
# For the netavark backend "/etc/containers/networks" is used as root |
| 334 |
# and "$graphroot/networks" as rootless. |
| 335 |
# |
| 336 |
#network_config_dir = "/usr/local/etc/cni/net.d/" |
| 337 |
|
| 338 |
[engine] |
| 339 |
# Index to the active service |
| 340 |
# |
| 341 |
#active_service = production |
| 342 |
|
| 343 |
# The compression format to use when pushing an image. |
| 344 |
# Valid options are: `gzip`, `zstd` and `zstd:chunked`. |
| 345 |
# `zstd:chunked` is incompatible with encrypting images, and will be treated as `zstd` with a warning |
| 346 |
# in that case. |
| 347 |
# |
| 348 |
#compression_format = "gzip" |
| 349 |
|
| 350 |
# The compression level to use when pushing an image. |
| 351 |
# Valid options depend on the compression format used. |
| 352 |
# For gzip, valid options are 1-9, with a default of 5. |
| 353 |
# For zstd, valid options are 1-20, with a default of 3. |
| 354 |
# |
| 355 |
#compression_level = 5 |
| 356 |
|
| 357 |
# Environment variables to pass into conmon |
| 358 |
# |
| 359 |
#conmon_env_vars = [ |
| 360 |
# "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| 361 |
#] |
| 362 |
|
| 363 |
# Paths to look for the conmon container manager binary |
| 364 |
# |
| 365 |
#conmon_path = [ |
| 366 |
# "/usr/libexec/podman/conmon", |
| 367 |
# "/usr/local/libexec/podman/conmon", |
| 368 |
# "/usr/local/lib/podman/conmon", |
| 369 |
# "/usr/bin/conmon", |
| 370 |
# "/usr/sbin/conmon", |
| 371 |
# "/usr/local/bin/conmon", |
| 372 |
# "/usr/local/sbin/conmon" |
| 373 |
#] |
| 374 |
|
| 375 |
# Enforces using docker.io for completing short names in Podman's compatibility |
| 376 |
# REST API. Note that this will ignore unqualified-search-registries and |
| 377 |
# short-name aliases defined in containers-registries.conf(5). |
| 378 |
#compat_api_enforce_docker_hub = true |
| 379 |
|
| 380 |
# Specify the keys sequence used to detach a container. |
| 381 |
# Format is a single character [a-Z] or a comma separated sequence of |
| 382 |
# `ctrl-<value>`, where `<value>` is one of: |
| 383 |
# `a-z`, `@`, `^`, `[`, `\`, `]`, `^` or `_` |
| 384 |
# |
| 385 |
#detach_keys = "ctrl-p,ctrl-q" |
| 386 |
|
| 387 |
# Determines whether engine will reserve ports on the host when they are |
| 388 |
# forwarded to containers. When enabled, when ports are forwarded to containers, |
| 389 |
# ports are held open by as long as the container is running, ensuring that |
| 390 |
# they cannot be reused by other programs on the host. However, this can cause |
| 391 |
# significant memory usage if a container has many ports forwarded to it. |
| 392 |
# Disabling this can save memory. |
| 393 |
# |
| 394 |
#enable_port_reservation = true |
| 395 |
|
| 396 |
# Environment variables to be used when running the container engine (e.g., |
| 397 |
# Podman, Buildah). For example "MYVAR=value". These environment variables |
| 398 |
# will not be used within the container. Set the env section under the |
| 399 |
# [containers] table, if you want to set environment variables for the |
| 400 |
# container. |
| 401 |
# Note when using this to set http proxy variables then they might get |
| 402 |
# leaked into the container depending on if `http_proxy` (under the |
| 403 |
# [containers] table) is set to to true (default) or false. |
| 404 |
# |
| 405 |
#env = [] |
| 406 |
|
| 407 |
# Define where event logs will be stored, when events_logger is "file". |
| 408 |
#events_logfile_path="" |
| 409 |
|
| 410 |
# Sets the maximum size for events_logfile_path. |
| 411 |
# The size can be b (bytes), k (kilobytes), m (megabytes), or g (gigabytes). |
| 412 |
# The format for the size is `<number><unit>`, e.g., `1b` or `3g`. |
| 413 |
# If no unit is included then the size will be read in bytes. |
| 414 |
# When the limit is exceeded, the logfile will be rotated and the old one will be deleted. |
| 415 |
# If the maximum size is set to 0, then no limit will be applied, |
| 416 |
# and the logfile will not be rotated. |
| 417 |
#events_logfile_max_size = "1m" |
| 418 |
|
| 419 |
# Selects which logging mechanism to use for container engine events. |
| 420 |
# Valid values are `journald`, `file` and `none`. |
| 421 |
# |
| 422 |
#events_logger = "file" |
| 423 |
|
| 424 |
# Whenever Podman should log healthcheck events. |
| 425 |
# With many running healthcheck on short interval Podman will spam the event |
| 426 |
# log a lot as it generates a event for each single healthcheck run. Because |
| 427 |
# this event is optional and only useful to external consumers that may want |
| 428 |
# to know when a healthcheck is run or failed allow users to turn it off by |
| 429 |
# setting it to false. The default is true. |
| 430 |
# |
| 431 |
#healthcheck_events = true |
| 432 |
|
| 433 |
# A is a list of directories which are used to search for helper binaries. |
| 434 |
# |
| 435 |
#helper_binaries_dir = [ |
| 436 |
# "/usr/local/libexec/podman", |
| 437 |
# "/usr/local/lib/podman", |
| 438 |
# "/usr/libexec/podman", |
| 439 |
# "/usr/lib/podman", |
| 440 |
#] |
| 441 |
|
| 442 |
# Path to OCI hooks directories for automatically executed hooks. |
| 443 |
# |
| 444 |
#hooks_dir = [ |
| 445 |
# "/usr/local/share/containers/oci/hooks.d", |
| 446 |
#] |
| 447 |
|
| 448 |
# Directories to scan for CDI Spec files. |
| 449 |
# |
| 450 |
#cdi_spec_dirs = [ |
| 451 |
# "/etc/cdi", |
| 452 |
# "/var/run/cdi", |
| 453 |
#] |
| 454 |
|
| 455 |
# Manifest Type (oci, v2s2, or v2s1) to use when pulling, pushing, building |
| 456 |
# container images. By default image pulled and pushed match the format of the |
| 457 |
# source image. Building/committing defaults to OCI. |
| 458 |
# |
| 459 |
#image_default_format = "" |
| 460 |
|
| 461 |
# Default transport method for pulling and pushing for images |
| 462 |
# |
| 463 |
#image_default_transport = "docker://" |
| 464 |
|
| 465 |
# Maximum number of image layers to be copied (pulled/pushed) simultaneously. |
| 466 |
# Not setting this field, or setting it to zero, will fall back to containers/image defaults. |
| 467 |
# |
| 468 |
#image_parallel_copies = 0 |
| 469 |
|
| 470 |
# Default command to run the infra container |
| 471 |
# |
| 472 |
#infra_command = "/pause" |
| 473 |
|
| 474 |
# Infra (pause) container image name for pod infra containers. When running a |
| 475 |
# pod, we start a `pause` process in a container to hold open the namespaces |
| 476 |
# associated with the pod. This container does nothing other than sleep, |
| 477 |
# reserving the pod's resources for the lifetime of the pod. By default container |
| 478 |
# engines run a built-in container using the pause executable. If you want override |
| 479 |
# specify an image to pull. |
| 480 |
# |
| 481 |
#infra_image = "" |
| 482 |
|
| 483 |
# Specify the locking mechanism to use; valid values are "shm" and "file". |
| 484 |
# Change the default only if you are sure of what you are doing, in general |
| 485 |
# "file" is useful only on platforms where cgo is not available for using the |
| 486 |
# faster "shm" lock type. You may need to run "podman system renumber" after |
| 487 |
# you change the lock type. |
| 488 |
# |
| 489 |
#lock_type** = "shm" |
| 490 |
|
| 491 |
# MultiImageArchive - if true, the container engine allows for storing archives |
| 492 |
# (e.g., of the docker-archive transport) with multiple images. By default, |
| 493 |
# Podman creates single-image archives. |
| 494 |
# |
| 495 |
#multi_image_archive = "false" |
| 496 |
|
| 497 |
# Default engine namespace |
| 498 |
# If engine is joined to a namespace, it will see only containers and pods |
| 499 |
# that were created in the same namespace, and will create new containers and |
| 500 |
# pods in that namespace. |
| 501 |
# The default namespace is "", which corresponds to no namespace. When no |
| 502 |
# namespace is set, all containers and pods are visible. |
| 503 |
# |
| 504 |
#namespace = "" |
| 505 |
|
| 506 |
# Path to the slirp4netns binary |
| 507 |
# |
| 508 |
#network_cmd_path = "" |
| 509 |
|
| 510 |
# Default options to pass to the slirp4netns binary. |
| 511 |
# Valid options values are: |
| 512 |
# |
| 513 |
# - allow_host_loopback=true|false: Allow the slirp4netns to reach the host loopback IP (`10.0.2.2`). |
| 514 |
# Default is false. |
| 515 |
# - mtu=MTU: Specify the MTU to use for this network. (Default is `65520`). |
| 516 |
# - cidr=CIDR: Specify ip range to use for this network. (Default is `10.0.2.0/24`). |
| 517 |
# - enable_ipv6=true|false: Enable IPv6. Default is true. (Required for `outbound_addr6`). |
| 518 |
# - outbound_addr=INTERFACE: Specify the outbound interface slirp should bind to (ipv4 traffic only). |
| 519 |
# - outbound_addr=IPv4: Specify the outbound ipv4 address slirp should bind to. |
| 520 |
# - outbound_addr6=INTERFACE: Specify the outbound interface slirp should bind to (ipv6 traffic only). |
| 521 |
# - outbound_addr6=IPv6: Specify the outbound ipv6 address slirp should bind to. |
| 522 |
# - port_handler=rootlesskit: Use rootlesskit for port forwarding. Default. |
| 523 |
# Note: Rootlesskit changes the source IP address of incoming packets to a IP address in the container |
| 524 |
# network namespace, usually `10.0.2.100`. If your application requires the real source IP address, |
| 525 |
# e.g. web server logs, use the slirp4netns port handler. The rootlesskit port handler is also used for |
| 526 |
# rootless containers when connected to user-defined networks. |
| 527 |
# - port_handler=slirp4netns: Use the slirp4netns port forwarding, it is slower than rootlesskit but |
| 528 |
# preserves the correct source IP address. This port handler cannot be used for user-defined networks. |
| 529 |
# |
| 530 |
#network_cmd_options = [] |
| 531 |
|
| 532 |
# Whether to use chroot instead of pivot_root in the runtime |
| 533 |
# |
| 534 |
#no_pivot_root = false |
| 535 |
|
| 536 |
# Number of locks available for containers and pods. |
| 537 |
# If this is changed, a lock renumber must be performed (e.g. with the |
| 538 |
# 'podman system renumber' command). |
| 539 |
# |
| 540 |
#num_locks = 2048 |
| 541 |
|
| 542 |
# Whether to pull new image before running a container |
| 543 |
# |
| 544 |
#pull_policy = "missing" |
| 545 |
|
| 546 |
# Indicates whether the application should be running in remote mode. This flag modifies the |
| 547 |
# --remote option on container engines. Setting the flag to true will default |
| 548 |
# `podman --remote=true` for access to the remote Podman service. |
| 549 |
# |
| 550 |
#remote = false |
| 551 |
|
| 552 |
# Default OCI runtime |
| 553 |
# |
| 554 |
#runtime = "crun" |
| 555 |
|
| 556 |
# List of the OCI runtimes that support --format=json. When json is supported |
| 557 |
# engine will use it for reporting nicer errors. |
| 558 |
# |
| 559 |
#runtime_supports_json = ["crun", "runc", "kata", "runsc", "youki", "krun", "ocijail"] |
| 560 |
|
| 561 |
# List of the OCI runtimes that supports running containers with KVM Separation. |
| 562 |
# |
| 563 |
#runtime_supports_kvm = ["kata", "krun"] |
| 564 |
|
| 565 |
# List of the OCI runtimes that supports running containers without cgroups. |
| 566 |
# |
| 567 |
#runtime_supports_nocgroups = ["crun", "krun"] |
| 568 |
|
| 569 |
# Default location for storing temporary container image content. Can be overridden with the TMPDIR environment |
| 570 |
# variable. If you specify "storage", then the location of the |
| 571 |
# container/storage tmp directory will be used. |
| 572 |
# image_copy_tmp_dir="/var/tmp" |
| 573 |
|
| 574 |
# Number of seconds to wait without a connection |
| 575 |
# before the `podman system service` times out and exits |
| 576 |
# |
| 577 |
#service_timeout = 5 |
| 578 |
|
| 579 |
# Directory for persistent engine files (database, etc) |
| 580 |
# By default, this will be configured relative to where the containers/storage |
| 581 |
# stores containers |
| 582 |
# Uncomment to change location from this default |
| 583 |
# |
| 584 |
#static_dir = "/var/lib/containers/storage/libpod" |
| 585 |
|
| 586 |
# Number of seconds to wait for container to exit before sending kill signal. |
| 587 |
# |
| 588 |
#stop_timeout = 10 |
| 589 |
|
| 590 |
# Number of seconds to wait before exit command in API process is given to. |
| 591 |
# This mimics Docker's exec cleanup behaviour, where the default is 5 minutes (value is in seconds). |
| 592 |
# |
| 593 |
#exit_command_delay = 300 |
| 594 |
|
| 595 |
# map of service destinations |
| 596 |
# |
| 597 |
#[service_destinations] |
| 598 |
# [service_destinations.production] |
| 599 |
# URI to access the Podman service |
| 600 |
# Examples: |
| 601 |
# rootless "unix:///run/user/$UID/podman/podman.sock" (Default) |
| 602 |
# rootful "unix:///run/podman/podman.sock (Default) |
| 603 |
# remote rootless ssh://engineering.lab.company.com/run/user/1000/podman/podman.sock |
| 604 |
# remote rootful ssh://[email protected]:22/run/podman/podman.sock |
| 605 |
# tcp/tls remote tcp://10.10.1.136:9443 |
| 606 |
# |
| 607 |
# uri = "ssh://[email protected]/run/user/1001/podman/podman.sock" |
| 608 |
# Path to file containing ssh identity key |
| 609 |
# identity = "~/.ssh/id_rsa" |
| 610 |
# Path to PEM file containing TLS client certificate |
| 611 |
# tls_cert = "/path/to/certs/podman/tls.crt" |
| 612 |
# Path to PEM file containing TLS client certificate private key |
| 613 |
# tls_key = "/path/to/certs/podman/tls.key" |
| 614 |
# Path to PEM file containing TLS certificate authority (CA) bundle |
| 615 |
# tls_ca = "/path/to/certs/podman/ca.crt" |
| 616 |
|
| 617 |
# Directory for temporary files. Must be tmpfs (wiped after reboot) |
| 618 |
# |
| 619 |
#tmp_dir = "/run/libpod" |
| 620 |
|
| 621 |
# Directory for libpod named volumes. |
| 622 |
# By default, this will be configured relative to where containers/storage |
| 623 |
# stores containers. |
| 624 |
# Uncomment to change location from this default. |
| 625 |
# |
| 626 |
#volume_path = "/var/lib/containers/storage/volumes" |
| 627 |
|
| 628 |
# Paths to look for a valid OCI runtime (crun, runc, kata, runsc, krun, etc) |
| 629 |
[engine.runtimes] |
| 630 |
#crun = [ |
| 631 |
# "/usr/bin/crun", |
| 632 |
# "/usr/sbin/crun", |
| 633 |
# "/usr/local/bin/crun", |
| 634 |
# "/usr/local/sbin/crun", |
| 635 |
# "/sbin/crun", |
| 636 |
# "/bin/crun", |
| 637 |
# "/run/current-system/sw/bin/crun", |
| 638 |
#] |
| 639 |
|
| 640 |
#kata = [ |
| 641 |
# "/usr/bin/kata-runtime", |
| 642 |
# "/usr/sbin/kata-runtime", |
| 643 |
# "/usr/local/bin/kata-runtime", |
| 644 |
# "/usr/local/sbin/kata-runtime", |
| 645 |
# "/sbin/kata-runtime", |
| 646 |
# "/bin/kata-runtime", |
| 647 |
# "/usr/bin/kata-qemu", |
| 648 |
# "/usr/bin/kata-fc", |
| 649 |
#] |
| 650 |
|
| 651 |
#runc = [ |
| 652 |
# "/usr/bin/runc", |
| 653 |
# "/usr/sbin/runc", |
| 654 |
# "/usr/local/bin/runc", |
| 655 |
# "/usr/local/sbin/runc", |
| 656 |
# "/sbin/runc", |
| 657 |
# "/bin/runc", |
| 658 |
# "/usr/lib/cri-o-runc/sbin/runc", |
| 659 |
#] |
| 660 |
|
| 661 |
#runsc = [ |
| 662 |
# "/usr/bin/runsc", |
| 663 |
# "/usr/sbin/runsc", |
| 664 |
# "/usr/local/bin/runsc", |
| 665 |
# "/usr/local/sbin/runsc", |
| 666 |
# "/bin/runsc", |
| 667 |
# "/sbin/runsc", |
| 668 |
# "/run/current-system/sw/bin/runsc", |
| 669 |
#] |
| 670 |
|
| 671 |
#youki = [ |
| 672 |
# "/usr/local/bin/youki", |
| 673 |
# "/usr/bin/youki", |
| 674 |
# "/bin/youki", |
| 675 |
# "/run/current-system/sw/bin/youki", |
| 676 |
#] |
| 677 |
|
| 678 |
#krun = [ |
| 679 |
# "/usr/bin/krun", |
| 680 |
# "/usr/local/bin/krun", |
| 681 |
#] |
| 682 |
|
| 683 |
# Default flags for a valid OCI runtime (crun, runc, kata, runsc, krun, etc) |
| 684 |
# Note: Do not pass the leading -- to the flag. To pass the runc flag --log-format json, the option given is log-format=json. |
| 685 |
[engine.runtimes_flags] |
| 686 |
#crun = [] |
| 687 |
|
| 688 |
#crun-vm = [] |
| 689 |
|
| 690 |
#kata = [] |
| 691 |
|
| 692 |
#runc = [] |
| 693 |
|
| 694 |
#runsc = [] |
| 695 |
|
| 696 |
#youki = [] |
| 697 |
|
| 698 |
#krun = [] |
| 699 |
|
| 700 |
[engine.volume_plugins] |
| 701 |
#testplugin = "/var/run/podman/plugins/test.sock" |
| 702 |
|
| 703 |
[machine] |
| 704 |
# Number of CPU's a machine is created with. |
| 705 |
# |
| 706 |
#cpus=1 |
| 707 |
|
| 708 |
# The size of the disk in GB created when init-ing a podman-machine VM. |
| 709 |
# |
| 710 |
#disk_size=10 |
| 711 |
|
| 712 |
# The image used when creating a podman-machine VM. |
| 713 |
# |
| 714 |
#image = "testing" |
| 715 |
|
| 716 |
# Memory in MB a machine is created with. |
| 717 |
# |
| 718 |
#memory=2048 |
| 719 |
|
| 720 |
# The username to use and create on the podman machine OS for rootless |
| 721 |
# container access. |
| 722 |
# |
| 723 |
#user = "core" |
| 724 |
|
| 725 |
# Host directories to be mounted as volumes into the VM by default. |
| 726 |
# Environment variables like $HOME as well as complete paths are supported for |
| 727 |
# the source and destination. An optional third field `:ro` can be used to |
| 728 |
# tell the container engines to mount the volume readonly. |
| 729 |
# |
| 730 |
#volumes = [ |
| 731 |
# "$HOME:$HOME", |
| 732 |
#] |
| 733 |
|
| 734 |
# Virtualization provider used to run Podman machine. |
| 735 |
# If it is empty or commented out, the default provider will be used. |
| 736 |
# |
| 737 |
#provider = "" |
| 738 |
|
| 739 |
# The [machine] table MUST be the last entry in this file. |
| 740 |
# (Unless another table is added) |
| 741 |
# TOML does not provide a way to end a table other than a further table being |
| 742 |
# defined, so every key hereafter will be part of [machine] and not the |
| 743 |
# main config. |
| 744 |
|
| 745 |
[farms] |
| 746 |
# |
| 747 |
# the default farm to use when farming out builds |
| 748 |
# default = "" |
| 749 |
# |
| 750 |
# map of existing farms |
| 751 |
#[farms.list] |