podman/vendor/github.com/containers/storage
Daniel J Walsh f67ab1eb20
Vendor in containers/(storage,image, common, buildah)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-07-18 10:42:04 -04:00
..
drivers Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
pkg Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
types Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
.cirrus.yml Update vendor of containers/buildah 2022-06-13 17:54:17 -04: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 build(deps): bump github.com/containers/storage from 1.15.7 to 1.15.8 2020-02-03 13:51:31 +01: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: update c/storage and c/image 2022-05-12 03:47:42 +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: update c/storage and c/image 2022-05-12 03:47:42 +02:00
containers.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
errors.go vendor: bump c/storage to main/d06b0f 2022-03-02 18:15:15 +05:30
go.mod Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
go.sum Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
idset.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
images.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04: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 Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
lockfile_compat.go github.com/containers/storage v1.12.13 2019-08-01 03:46:14 -04:00
storage.conf Update vendor of containers/buildah 2022-06-13 17:54:17 -04:00
storage.conf-freebsd vendor: update c/storage and c/image 2022-05-12 03:47:42 +02:00
store.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
userns.go Vendor in containers/(storage,image, common, buildah) 2022-07-18 10:42:04 -04:00
utils.go Update vendor of storage,common 2022-04-14 14:35:46 -04:00

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.