@@ -10,11 +10,11 @@ contents:
10
10
# The "container storage" table contains all of the server options.
11
11
[storage]
12
12
13
- # Default Storage Driver
13
+ # Default storage driver, must be set for proper operation.
14
14
driver = "overlay"
15
15
16
16
# Temporary storage location
17
- runroot = "/var/ run/containers/storage"
17
+ runroot = "/run/containers/storage"
18
18
19
19
# Primary Read/Write location of container storage
20
20
graphroot = "/var/lib/containers/storage"
@@ -27,10 +27,6 @@ contents:
27
27
additionalimagestores = [
28
28
]
29
29
30
- # Size is used to set a maximum size of the container image. Only supported by
31
- # certain container storage drivers.
32
- size = ""
33
-
34
30
# Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of
35
31
# a container, to UIDs/GIDs as they should appear outside of the container, and
36
32
# the length of the range of UIDs/GIDs. Additional mapped sets can be listed
@@ -47,77 +43,36 @@ contents:
47
43
# range that matches the specified name, and using the length of that range.
48
44
# Additional ranges are then assigned, using the ranges which specify the
49
45
# lowest host-level IDs first, to the lowest not-yet-mapped container-level ID,
50
- # until all of the entries have been used for maps.
46
+ # until all of the entries have been used for maps. This setting overrides the
47
+ # Remap-UIDs/GIDs setting.
51
48
#
52
49
# remap-user = "storage"
53
50
# remap-group = "storage"
54
51
55
- [storage.options.overlay]
56
- # Storage Options for overlay
57
-
58
- # Do not create a PRIVATE bind mount on the home directory.
59
- skip_mount_home = "true"
60
-
61
- [storage.options.thinpool]
62
- # Storage Options for thinpool
63
-
64
- # autoextend_percent determines the amount by which pool needs to be
65
- # grown. This is specified in terms of % of pool size. So a value of 20 means
66
- # that when threshold is hit, pool will be grown by 20% of existing
67
- # pool size.
68
- # autoextend_percent = "20"
69
-
70
- # autoextend_threshold determines the pool extension threshold in terms
71
- # of percentage of pool size. For example, if threshold is 60, that means when
72
- # pool is 60% full, threshold has been hit.
73
- # autoextend_threshold = "80"
74
-
75
- # basesize specifies the size to use when creating the base device, which
76
- # limits the size of images and containers.
77
- # basesize = "10G"
52
+ [storage.options.pull_options]
53
+ # Options controlling how storage is populated when pulling images.
78
54
79
- # blocksize specifies a custom blocksize to use for the thin pool.
80
- # blocksize="64k"
55
+ # Enable the "zstd:chunked" feature, which allows partial pulls, reusing
56
+ # content that already exists on the system. This is disabled by default,
57
+ # and must be explicitly enabled to be used. For more on zstd:chunked, see
58
+ # https://github.com/containers/storage/blob/main/docs/containers-storage-zstd-chunked.md
59
+ enable_partial_images = "false"
81
60
82
- # directlvm_device specifies a custom block storage device to use for the
83
- # thin pool. Required if you setup devicemapper
84
- # directlvm_device = ""
61
+ # Tells containers/storage to use hard links rather then create new files in
62
+ # the image, if an identical file already existed in storage.
63
+ use_hard_links = "false "
85
64
86
- # directlvm_device_force wipes device even if device already has a filesystem
87
- # directlvm_device_force = "True"
65
+ # Path to an ostree repository that might have
66
+ # previously pulled content which can be used when attempting to avoid
67
+ # pulling content from the container registry.
68
+ ostree_repos = ""
88
69
89
- # fs specifies the filesystem type to use for the base device.
90
- # fs="xfs"
91
-
92
- # log_level sets the log level of devicemapper.
93
- # 0: LogLevelSuppress 0 (Default)
94
- # 2: LogLevelFatal
95
- # 3: LogLevelErr
96
- # 4: LogLevelWarn
97
- # 5: LogLevelNotice
98
- # 6: LogLevelInfo
99
- # 7: LogLevelDebug
100
- # log_level = "7"
101
-
102
- # min_free_space specifies the min free space percent in a thin pool require for
103
- # new device creation to succeed. Valid values are from 0% - 99%.
104
- # Value 0% disables
105
- # min_free_space = "10%"
106
-
107
- # mkfsarg specifies extra mkfs arguments to be used when creating the base
108
- # device.
109
- # mkfsarg = ""
110
-
111
- # mountopt specifies extra mount options used when mounting the thin devices.
112
- # mountopt = ""
113
-
114
- # use_deferred_removal Marking device for deferred removal
115
- # use_deferred_removal = "True"
70
+ [storage.options.overlay]
71
+ # Storage Options for overlay
116
72
117
- # use_deferred_deletion Marking device for deferred deletion
118
- # use_deferred_deletion = "True "
73
+ # Do not create a PRIVATE bind mount on the home directory.
74
+ skip_mount_home = "true "
119
75
120
- # xfs_nospace_max_retries specifies the maximum number of retries XFS should
121
- # attempt to complete IO when ENOSPC (no space) error is returned by
122
- # underlying storage device.
123
- # xfs_nospace_max_retries = "0"
76
+ # Size is used to set a maximum size of the container image. Only supported by
77
+ # certain container storage drivers.
78
+ size = ""
0 commit comments