github.com/sshnaidm/storage@v1.12.13/storage.conf (about) 1 # This file is is the configuration file for all tools 2 # that use the containers/storage library. 3 # See man 5 containers-storage.conf for more information 4 # The "container storage" table contains all of the server options. 5 [storage] 6 7 # Default Storage Driver 8 driver = "" 9 10 # Temporary storage location 11 runroot = "/var/run/containers/storage" 12 13 # Primary Read/Write location of container storage 14 graphroot = "/var/lib/containers/storage" 15 16 [storage.options] 17 # Storage options to be passed to underlying storage drivers 18 19 # AdditionalImageStores is used to pass paths to additional Read/Only image stores 20 # Must be comma separated list. 21 additionalimagestores = [ 22 ] 23 24 # Size is used to set a maximum size of the container image. Only supported by 25 # certain container storage drivers. 26 size = "" 27 28 # Path to an helper program to use for mounting the file system instead of mounting it 29 # directly. 30 #mount_program = "/usr/bin/fuse-overlayfs" 31 32 # mountopt specifies comma separated list of extra mount options 33 mountopt = "nodev" 34 35 # Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of 36 # a container, to the UIDs/GIDs as they should appear outside of the container, 37 # and the length of the range of UIDs/GIDs. Additional mapped sets can be 38 # listed and will be heeded by libraries, but there are limits to the number of 39 # mappings which the kernel will allow when you later attempt to run a 40 # container. 41 # 42 # remap-uids = 0:1668442479:65536 43 # remap-gids = 0:1668442479:65536 44 45 # Remap-User/Group is a user name which can be used to look up one or more UID/GID 46 # ranges in the /etc/subuid or /etc/subgid file. Mappings are set up starting 47 # with an in-container ID of 0 and then a host-level ID taken from the lowest 48 # range that matches the specified name, and using the length of that range. 49 # Additional ranges are then assigned, using the ranges which specify the 50 # lowest host-level IDs first, to the lowest not-yet-mapped in-container ID, 51 # until all of the entries have been used for maps. 52 # 53 # remap-user = "storage" 54 # remap-group = "storage" 55 56 # If specified, use OSTree to deduplicate files with the overlay backend. 57 ostree_repo = "" 58 59 # Set to skip a PRIVATE bind mount on the storage home directory. Only supported by 60 # certain container storage drivers (overlay). 61 skip_mount_home = "false" 62 63 [storage.options.thinpool] 64 # Storage Options for thinpool 65 66 # autoextend_percent determines the amount by which pool needs to be 67 # grown. This is specified in terms of % of pool size. So a value of 20 means 68 # that when threshold is hit, pool will be grown by 20% of existing 69 # pool size. 70 # autoextend_percent = "20" 71 72 # autoextend_threshold determines the pool extension threshold in terms 73 # of percentage of pool size. For example, if threshold is 60, that means when 74 # pool is 60% full, threshold has been hit. 75 # autoextend_threshold = "80" 76 77 # basesize specifies the size to use when creating the base device, which 78 # limits the size of images and containers. 79 # basesize = "10G" 80 81 # blocksize specifies a custom blocksize to use for the thin pool. 82 # blocksize="64k" 83 84 # directlvm_device specifies a custom block storage device to use for the 85 # thin pool. Required if you setup devicemapper. 86 # directlvm_device = "" 87 88 # directlvm_device_force wipes device even if device already has a filesystem. 89 # directlvm_device_force = "True" 90 91 # fs specifies the filesystem type to use for the base device. 92 # fs="xfs" 93 94 # log_level sets the log level of devicemapper. 95 # 0: LogLevelSuppress 0 (Default) 96 # 2: LogLevelFatal 97 # 3: LogLevelErr 98 # 4: LogLevelWarn 99 # 5: LogLevelNotice 100 # 6: LogLevelInfo 101 # 7: LogLevelDebug 102 # log_level = "7" 103 104 # min_free_space specifies the min free space percent in a thin pool require for 105 # new device creation to succeed. Valid values are from 0% - 99%. 106 # Value 0% disables 107 # min_free_space = "10%" 108 109 # mkfsarg specifies extra mkfs arguments to be used when creating the base. 110 # device. 111 # mkfsarg = "" 112 113 # use_deferred_removal marks devicemapper block device for deferred removal. 114 # If the thinpool is in use when the driver attempts to remove it, the driver 115 # tells the kernel to remove it as soon as possible. Note this does not free 116 # up the disk space, use deferred deletion to fully remove the thinpool. 117 # use_deferred_removal = "True" 118 119 # use_deferred_deletion marks thinpool device for deferred deletion. 120 # If the device is busy when the driver attempts to delete it, the driver 121 # will attempt to delete device every 30 seconds until successful. 122 # If the program using the driver exits, the driver will continue attempting 123 # to cleanup the next time the driver is used. Deferred deletion permanently 124 # deletes the device and all data stored in device will be lost. 125 # use_deferred_deletion = "True" 126 127 # xfs_nospace_max_retries specifies the maximum number of retries XFS should 128 # attempt to complete IO when ENOSPC (no space) error is returned by 129 # underlying storage device. 130 # xfs_nospace_max_retries = "0"