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