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