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