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