mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:09:23 +08:00
09de471774
Require blob files to follow standard OCI image layout: rootDir/repo/blobs/algorithm/digest - Validate grandparent directory is ImageBlobsDir - Validate parent directory is valid digest algorithm - Update tests to use standard OCI structure - Add blobPath() helper to reduce duplication and fix linting This should reduce the number of uneeded digest computations if other non-oci specific files are present in the layout. Fix also a race condition when picking ports in monitoring tests. Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>
zot currently supports two types of underlying filesystems:
-
local - a locally mounted filesystem
-
remote - a remote filesystem such as AWS S3
The cache database can be configured independently of storage. Right now, zot supports the following database implementations:
- BoltDB - local storage. Set the "cloudCache" field in the config file to false. Example: examples/config-boltdb.json