automation-tests/vendor/github.com/containers/storage
Valentin Rothberg e092f887fe vendor c/storage@6902c2d
Mainly to merge fixes for #19467 into the main branch.

Fixes: #19467
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-08-23 10:47:41 +02:00
..
drivers vendor c/storage@6902c2d 2023-08-23 10:47:41 +02:00
pkg vendor c/storage@6902c2d 2023-08-23 10:47:41 +02:00
types vendor: bump c/storage to v1.46.2-0.20230616083707-cc0d208e5e1c 2023-06-17 08:51:17 +05:30
.cirrus.yml vendor c/storage@6902c2d 2023-08-23 10:47:41 +02:00
.dockerignore migrate to go-modules 2019-06-24 13:20:59 +02:00
.gitignore build(deps): bump github.com/containers/common from 0.26.0 to 0.26.3 2020-10-27 07:25:23 -04:00
.golangci.yml Update common, image, and storage deps 2023-06-12 10:31:58 +02:00
.mailmap migrate to go-modules 2019-06-24 13:20:59 +02:00
AUTHORS Bump github.com/containers/storage from 1.25.0 to 1.28.0 2021-03-18 20:27:25 +01:00
CODE-OF-CONDUCT.md Bump github.com/containers/storage from 1.32.2 to 1.32.3 2021-06-18 14:46:38 +00:00
CONTRIBUTING.md migrate to go-modules 2019-06-24 13:20:59 +02:00
LICENSE Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
Makefile vendor c/storage@6902c2d 2023-08-23 10:47:41 +02:00
NOTICE Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
README.md Vendor in containers/storage 2018-11-15 13:57:03 -05:00
SECURITY.md Bump github.com/containers/storage from 1.32.2 to 1.32.3 2021-06-18 14:46:38 +00:00
VERSION vendor c/storage@6902c2d 2023-08-23 10:47:41 +02:00
check.go vendor: bump c/storage to v1.46.2-0.20230616083707-cc0d208e5e1c 2023-06-17 08:51:17 +05:30
containers.go Update common, image, and storage deps 2023-06-12 10:31:58 +02:00
deprecated.go vendor containers/storage@main 2022-10-13 16:54:14 +02:00
errors.go vendor: bump c/storage to main/d06b0f 2022-03-02 18:15:15 +05:30
idset.go Vendor in latest containers/(common, image, storage) 2023-01-05 10:40:36 -05:00
images.go Update common, image, and storage deps 2023-06-12 10:31:58 +02:00
jsoniter.go Bump github.com/containers/storage from 1.30.1 to 1.30.2 2021-05-10 10:16:27 +00:00
layers.go update c/image and c/storage to latest 2023-06-27 18:04:42 +02:00
lockfile_compat.go Update c/storage after https://github.com/containers/storage/pull/1436 2022-12-01 16:05:13 +01:00
storage.conf Update common, image, and storage deps 2023-06-12 10:31:58 +02:00
storage.conf-freebsd vendor: update c/storage and c/image 2022-05-12 03:47:42 +02:00
store.go vendor c/storage@6902c2d 2023-08-23 10:47:41 +02:00
userns.go vendor: bump containers/(storage, common, buildah, image) 2023-04-10 17:30:14 +05:30
utils.go vendor: bump containers/(storage, common, buildah, image) 2023-04-10 17:30:14 +05:30

README.md

storage is a Go library which aims to provide methods for storing filesystem layers, container images, and containers. A containers-storage CLI wrapper is also included for manual and scripting use.

To build the CLI wrapper, use 'make binary'.

Operations which use VMs expect to launch them using 'vagrant', defaulting to using its 'libvirt' provider. The boxes used are also available for the 'virtualbox' provider, and can be selected by setting $VAGRANT_PROVIDER to 'virtualbox' before kicking off the build.

The library manages three types of items: layers, images, and containers.

A layer is a copy-on-write filesystem which is notionally stored as a set of changes relative to its parent layer, if it has one. A given layer can only have one parent, but any layer can be the parent of multiple layers. Layers which are parents of other layers should be treated as read-only.

An image is a reference to a particular layer (its top layer), along with other information which the library can manage for the convenience of its caller. This information typically includes configuration templates for running a binary contained within the image's layers, and may include cryptographic signatures. Multiple images can reference the same layer, as the differences between two images may not be in their layer contents.

A container is a read-write layer which is a child of an image's top layer, along with information which the library can manage for the convenience of its caller. This information typically includes configuration information for running the specific container. Multiple containers can be derived from a single image.

Layers, images, and containers are represented primarily by 32 character hexadecimal IDs, but items of each kind can also have one or more arbitrary names attached to them, which the library will automatically resolve to IDs when they are passed in to API calls which expect IDs.

The library can store what it calls metadata for each of these types of items. This is expected to be a small piece of data, since it is cached in memory and stored along with the library's own bookkeeping information.

Additionally, the library can store one or more of what it calls big data for images and containers. This is a named chunk of larger data, which is only in memory when it is being read from or being written to its own disk file.

Contributing Information about contributing to this project.