container-runtime

Settings related to container runtime behaviour (settings.container-runtime.*)

Setting list for settings.container-runtime


Full Reference

settings.container-runtime.concurrent-download-chunk-size

The maximum chunk size in bytes for each part when downloading container image layers in parallel. Parallel layer fetch is enabled when this value is 512 bytes or greater, which can accelerate pulls for large images. The default is 8mib.

This setting can also be configured using the alias concurrent-layer-fetch-buffer.

This setting is only used for variants that have containerd-2.1 or above.

Accepted values:
  • a positive integer
  • a byte size string (e.g. 1024, 1kb, 3mib, 2gb)
# Set chunk size to 32 MiB
[settings.container-runtime]
concurrent-download-chunk-size = "32mb"
Set chunk size to 32 MiB
apiclient set settings.container-runtime.concurrent-download-chunk-size="32mb"
Also see: 

settings.container-runtime.enable-unprivileged-icmp

If true unprivileged containers can open ICMP echo sockets.

Accepted values:
  • true
  • false
Also see: 

settings.container-runtime.enable-unprivileged-ports

If true unprivileged containers can bind to ports less than 1024.

Accepted values:
  • true
  • false
Also see: 

settings.container-runtime.max-concurrent-downloads

The number of allowed concurrent layer downloads for each image.

Accepted values:
  • a positive number
Also see: 

settings.container-runtime.max-container-log-line-size

A value that dictates the maximum log line size, any larger log lines will split into multiple lines. Values are expressed in bytes.

Accepted values:
  • -1 for no limit
  • a positive numbers
Also see: 

settings.container-runtime.snapshotter

The snapshotter to use for container images.

Accepted values:
  • overlayfs (default)
  • soci
[settings.container-runtime]
snapshotter = "soci"
apiclient set settings.container-runtime.snapshotter="soci"