f2048a
# storage.conf is the configuration file for all tools
f2048a
# that share the containers/storage libraries
f2048a
# See man 5 containers-storage.conf for more information
f2048a
# The "container storage" table contains all of the server options.
f2048a
[storage]
f2048a
f2048a
# Default Storage Driver
f2048a
driver = "overlay"
f2048a
f2048a
# Temporary storage location
f2048a
runroot = "/var/run/containers/storage"
f2048a
f2048a
# Primary Read/Write location of container storage
f2048a
graphroot = "/var/lib/containers/storage"
f2048a
f2048a
[storage.options]
f2048a
# Storage options to be passed to underlying storage drivers
f2048a
f2048a
# AdditionalImageStores is used to pass paths to additional Read/Only image stores
f2048a
# Must be comma separated list.
f2048a
additionalimagestores = [
f2048a
]
f2048a
f2048a
# Size is used to set a maximum size of the container image.  Only supported by
f2048a
# certain container storage drivers.
f2048a
size = ""
f2048a
f2048a
# OverrideKernelCheck tells the driver to ignore kernel checks based on kernel version
f2048a
override_kernel_check = "true"
f2048a
f2048a
# Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of
f2048a
# a container, to UIDs/GIDs as they should appear outside of the container, and
f2048a
# the length of the range of UIDs/GIDs.  Additional mapped sets can be listed
f2048a
# and will be heeded by libraries, but there are limits to the number of
f2048a
# mappings which the kernel will allow when you later attempt to run a
f2048a
# container.
f2048a
#
f2048a
# remap-uids = 0:1668442479:65536
f2048a
# remap-gids = 0:1668442479:65536
f2048a
f2048a
# Remap-User/Group is a name which can be used to look up one or more UID/GID
f2048a
# ranges in the /etc/subuid or /etc/subgid file.  Mappings are set up starting
f2048a
# with an in-container ID of 0 and the a host-level ID taken from the lowest
f2048a
# range that matches the specified name, and using the length of that range.
f2048a
# Additional ranges are then assigned, using the ranges which specify the
f2048a
# lowest host-level IDs first, to the lowest not-yet-mapped container-level ID,
f2048a
# until all of the entries have been used for maps.
f2048a
#
f2048a
# remap-user = "storage"
f2048a
# remap-group = "storage"
f2048a
f2048a
[storage.options.thinpool]
f2048a
# Storage Options for thinpool
f2048a
f2048a
# autoextend_percent determines the amount by which pool needs to be
f2048a
# grown. This is specified in terms of % of pool size. So a value of 20 means
f2048a
# that when threshold is hit, pool will be grown by 20% of existing
f2048a
# pool size.
f2048a
# autoextend_percent = "20"
f2048a
f2048a
# autoextend_threshold determines the pool extension threshold in terms
f2048a
# of percentage of pool size. For example, if threshold is 60, that means when
f2048a
# pool is 60% full, threshold has been hit.
f2048a
# autoextend_threshold = "80"
f2048a
f2048a
# basesize specifies the size to use when creating the base device, which
f2048a
# limits the size of images and containers.
f2048a
# basesize = "10G"
f2048a
f2048a
# blocksize specifies a custom blocksize to use for the thin pool.
f2048a
# blocksize="64k"
f2048a
f2048a
# directlvm_device specifies a custom block storage device to use for the
f2048a
# thin pool. Required if you setup devicemapper
f2048a
# directlvm_device = ""
f2048a
f2048a
# directlvm_device_force wipes device even if device already has a filesystem
f2048a
# directlvm_device_force = "True"
f2048a
f2048a
# fs specifies the filesystem type to use for the base device.
f2048a
# fs="xfs"
f2048a
f2048a
# log_level sets the log level of devicemapper.
f2048a
# 0: LogLevelSuppress 0 (Default)
f2048a
# 2: LogLevelFatal
f2048a
# 3: LogLevelErr
f2048a
# 4: LogLevelWarn
f2048a
# 5: LogLevelNotice
f2048a
# 6: LogLevelInfo
f2048a
# 7: LogLevelDebug
f2048a
# log_level = "7"
f2048a
f2048a
# min_free_space specifies the min free space percent in a thin pool require for
f2048a
# new device creation to succeed. Valid values are from 0% - 99%.
f2048a
# Value 0% disables
f2048a
# min_free_space = "10%"
f2048a
f2048a
# mkfsarg specifies extra mkfs arguments to be used when creating the base
f2048a
# device.
f2048a
# mkfsarg = ""
f2048a
f2048a
# mountopt specifies extra mount options used when mounting the thin devices.
f2048a
# mountopt = ""
f2048a
f2048a
# use_deferred_removal Marking device for deferred removal
f2048a
# use_deferred_removal = "True"
f2048a
f2048a
# use_deferred_deletion Marking device for deferred deletion
f2048a
# use_deferred_deletion = "True"
f2048a
f2048a
# xfs_nospace_max_retries specifies the maximum number of retries XFS should
f2048a
# attempt to complete IO when ENOSPC (no space) error is returned by
f2048a
# underlying storage device.
f2048a
# xfs_nospace_max_retries = "0"