@@ -54,32 +54,31 @@ graphroot = "/var/lib/containers/storage"
54
54
additionalimagestores = [
55
55
]
56
56
57
- # Allows specification of how storage is populated when pulling images. This
58
- # option can speed the pulling process of images compressed with format
59
- # zstd:chunked. Containers/storage looks for files within images that are being
60
- # pulled from a container registry that were previously pulled to the host. It
61
- # can copy or create a hard link to the existing file when it finds them,
62
- # eliminating the need to pull them from the container registry. These options
63
- # can deduplicate pulling of content, disk storage of content and can allow the
64
- # kernel to use less memory when running containers.
65
-
66
- # containers/storage supports four keys
67
- # * enable_partial_images="true" | "false"
68
- # Tells containers/storage to look for files previously pulled in storage
69
- # rather then always pulling them from the container registry.
70
- # * use_hard_links = "false" | "true"
71
- # Tells containers/storage to use hard links rather then create new files in
72
- # the image, if an identical file already existed in storage.
73
- # * ostree_repos = ""
74
- # Tells containers/storage where an ostree repository exists that might have
75
- # previously pulled content which can be used when attempting to avoid
76
- # pulling content from the container registry
77
- # * convert_images = "false" | "true"
78
- # If set to true, containers/storage will convert images to a
79
- # format compatible with partial pulls in order to take advantage
80
- # of local deduplication and hard linking. It is an expensive
81
- # operation so it is not enabled by default.
82
- pull_options = {enable_partial_images = "true", use_hard_links = "false", ostree_repos=""}
57
+ # Options controlling how storage is populated when pulling images.
58
+ [storage.options.pull_options]
59
+ # Enable the "zstd:chunked" feature, which allows partial pulls, reusing
60
+ # content that already exists on the system. This is enabled by default,
61
+ # but can be explicitly disabled. For more on zstd:chunked, see
62
+ # https://github.com/containers/storage/blob/main/docs/containers-storage-zstd-chunked.md
63
+ # This is a "string bool": "false" | "true" (cannot be native TOML boolean)
64
+ # enable_partial_images = "true"
65
+
66
+ # Tells containers/storage to use hard links rather then create new files in
67
+ # the image, if an identical file already existed in storage.
68
+ # This is a "string bool": "false" | "true" (cannot be native TOML boolean)
69
+ # use_hard_links = "false"
70
+
71
+ # Path to an ostree repository that might have
72
+ # previously pulled content which can be used when attempting to avoid
73
+ # pulling content from the container registry
74
+ # ostree_repos=""
75
+
76
+ # If set to "true", containers/storage will convert images to a
77
+ # format compatible with partial pulls in order to take advantage
78
+ # of local deduplication and hard linking. It is an expensive
79
+ # operation so it is not enabled by default.
80
+ # This is a "string bool": "false" | "true" (cannot be native TOML boolean)
81
+ # convert_images = "false"
83
82
84
83
# Root-auto-userns-user is a user name which can be used to look up one or more UID/GID
85
84
# ranges in the /etc/subuid and /etc/subgid file. These ranges will be partitioned
@@ -102,6 +101,7 @@ pull_options = {enable_partial_images = "true", use_hard_links = "false", ostree
102
101
# squashed down to the default uid in the container. These images will have no
103
102
# separation between the users in the container. Only supported for the overlay
104
103
# and vfs drivers.
104
+ # This is a "string bool": "false" | "true" (cannot be native TOML boolean)
105
105
#ignore_chown_errors = "false"
106
106
107
107
# Inodes is used to set a maximum inodes of the container image.
@@ -115,9 +115,11 @@ pull_options = {enable_partial_images = "true", use_hard_links = "false", ostree
115
115
mountopt = "nodev"
116
116
117
117
# Set to skip a PRIVATE bind mount on the storage home directory.
118
+ # This is a "string bool": "false" | "true" (cannot be native TOML boolean)
118
119
# skip_mount_home = "false"
119
120
120
121
# Set to use composefs to mount data layers with overlay.
122
+ # This is a "string bool": "false" | "true" (cannot be native TOML boolean)
121
123
# use_composefs = "false"
122
124
123
125
# Size is used to set a maximum size of the container image.
0 commit comments