From cffa19709cc80133b8393e4fe410b5d8dc191dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Sj=C3=B6lund?= Date: Wed, 27 Jul 2022 20:19:42 +0200 Subject: [PATCH] fix typos and spelling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Erik Sjölund --- docs/containers-storage-delete-image.md | 2 +- docs/containers-storage-get-container-dir.md | 2 +- docs/containers-storage-get-container-run-dir.md | 2 +- docs/containers-storage-layer.md | 2 +- docs/containers-storage-list-layer-data.md | 4 ++-- docs/containers-storage.conf.5.md | 4 ++-- storage.conf | 6 +++--- store.go | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/containers-storage-delete-image.md b/docs/containers-storage-delete-image.md index 88503b2ce..9e7fb124d 100644 --- a/docs/containers-storage-delete-image.md +++ b/docs/containers-storage-delete-image.md @@ -10,7 +10,7 @@ containers-storage delete-image - Delete an image Deletes an image if it is not currently being used by any containers. If the image's top layer is not being used by any other images, it will be removed. If that image's parent is then not being used by other images, it, too, will be -removed, and the this will be repeated for each parent's parent. +removed, and this will be repeated for each parent's parent. ## EXAMPLE **containers-storage delete-image my-base-image** diff --git a/docs/containers-storage-get-container-dir.md b/docs/containers-storage-get-container-dir.md index 2ed972ae9..1d90485ea 100644 --- a/docs/containers-storage-get-container-dir.md +++ b/docs/containers-storage-get-container-dir.md @@ -1,4 +1,4 @@ -## containers-storage-get-container-dir 1 "Sepember 2016" +## containers-storage-get-container-dir 1 "September 2016" ## NAME containers-storage get-container-dir - Find lookaside directory for a container diff --git a/docs/containers-storage-get-container-run-dir.md b/docs/containers-storage-get-container-run-dir.md index 8690a0094..3c7899987 100644 --- a/docs/containers-storage-get-container-run-dir.md +++ b/docs/containers-storage-get-container-run-dir.md @@ -1,4 +1,4 @@ -## containers-storage-get-container-run-dir 1 "Sepember 2016" +## containers-storage-get-container-run-dir 1 "September 2016" ## NAME containers-storage get-container-run-dir - Find runtime lookaside directory for a container diff --git a/docs/containers-storage-layer.md b/docs/containers-storage-layer.md index 77064d602..2d4869dff 100644 --- a/docs/containers-storage-layer.md +++ b/docs/containers-storage-layer.md @@ -7,7 +7,7 @@ containers-storage layer - Examine a single layer **containers-storage** **layer** *layerNameOrID* ## DESCRIPTION -Retrieve information about an layer: its ID, any names it has, and the ID of +Retrieve information about a layer: its ID, any names it has, and the ID of its parent, if it has one. ## EXAMPLE diff --git a/docs/containers-storage-list-layer-data.md b/docs/containers-storage-list-layer-data.md index 446828007..41afe2797 100644 --- a/docs/containers-storage-list-layer-data.md +++ b/docs/containers-storage-list-layer-data.md @@ -1,13 +1,13 @@ ## containers-storage-list-layer-data 1 "December 2020" ## NAME -containers-storage list-layer-data - List lookaside data for an layer +containers-storage list-layer-data - List lookaside data for a layer ## SYNOPSIS **containers-storage** **list-layer-data** *layerID* ## DESCRIPTION -List the pieces of named data which are associated with an layer. +List the pieces of named data which are associated with a layer. ## EXAMPLE **containers-storage list-layer-data 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824** diff --git a/docs/containers-storage.conf.5.md b/docs/containers-storage.conf.5.md index e5cc7c0f0..838726b7e 100644 --- a/docs/containers-storage.conf.5.md +++ b/docs/containers-storage.conf.5.md @@ -99,7 +99,7 @@ containers/storage supports four keys **remap-uids=**"" **remap-gids=**"" - Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of a container, to the UIDs/GIDs outside of the container, and the length of the range of UIDs/GIDs. Additional mapped sets can be listed and will be heeded by libraries, but there are limits to the number of mappings which the kernel will allow when you later attempt to run a container. + Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of a container, to the UIDs/GIDs outside of the container, and the length of the range of UIDs/GIDs. Additional mapped sets can be listed and will be needed by libraries, but there are limits to the number of mappings which the kernel will allow when you later attempt to run a container. Example remap-uids = 0:1668442479:65536 @@ -244,7 +244,7 @@ Note: The force_mask Flag is an experimental feature, it could change in the future. When "force_mask" is set the original permission mask is stored in the "user.containers.override_stat" xattr and the "mount_program" option must be specified. Mount programs like "/usr/bin/fuse-overlayfs" present the extended -attribute permissions to processes within containers rather then the +attribute permissions to processes within containers rather than the "force_mask" permissions. **mount_program**="" diff --git a/storage.conf b/storage.conf index e075bce13..1814b4727 100644 --- a/storage.conf +++ b/storage.conf @@ -1,4 +1,4 @@ -# This file is is the configuration file for all tools +# This file is the configuration file for all tools # that use the containers/storage library. The storage.conf file # overrides all other storage.conf files. Container engines using the # container/storage library do not inherit fields from other storage.conf @@ -65,7 +65,7 @@ pull_options = {enable_partial_images = "false", use_hard_links = "false", ostre # Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of # a container, to the UIDs/GIDs as they should appear outside of the container, # and the length of the range of UIDs/GIDs. Additional mapped sets can be -# listed and will be heeded by libraries, but there are limits to the number of +# listed and will be needed by libraries, but there are limits to the number of # mappings which the kernel will allow when you later attempt to run a # container. # @@ -150,7 +150,7 @@ mountopt = "nodev" # future. When "force_mask" is set the original permission mask is stored in # the "user.containers.override_stat" xattr and the "mount_program" option must # be specified. Mount programs like "/usr/bin/fuse-overlayfs" present the -# extended attribute permissions to processes within containers rather then the +# extended attribute permissions to processes within containers rather than the # "force_mask" permissions. # # force_mask = "" diff --git a/store.go b/store.go index 8297d3c2c..afcf8ee70 100644 --- a/store.go +++ b/store.go @@ -410,7 +410,7 @@ type Store interface { SetImageBigData(id, key string, data []byte, digestManifest func([]byte) (digest.Digest, error)) error // ListLayerBigData retrieves a list of the (possibly large) chunks of - // named data associated with an layer. + // named data associated with a layer. ListLayerBigData(id string) ([]string, error) // LayerBigData retrieves a (possibly large) chunk of named data