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