0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/storage
Ramkumar Chinchani cb2af94b0b
feat: add support for docker images (#2714)
* feat: add support for docker images

Issue #724

A new config section under "HTTP" called "Compat" is added which
currently takes a list of possible compatible legacy media-types.

https://github.com/opencontainers/image-spec/blob/main/media-types.md#compatibility-matrix

Only "docker2s2" (Docker Manifest V2 Schema V2) is currently supported.

Garbage collection also needs to be made aware of non-OCI compatible
layer types.
feat: add cve support for non-OCI compatible layer types

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* 

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* test: add more docker compat tests

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* feat: add additional validation checks for non-OCI images

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* ci: make "full" images docker-compatible

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

---------

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2024-10-31 09:44:04 +02:00
..
cache ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
common feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
constants feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
gc feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
imagestore feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
local feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
s3 feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
types fix(gc): gc now removes blob uploads which have not changed within the gc delay interval (#2599) 2024-08-12 11:58:46 -07:00
cache.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
cache_benchmark_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
cache_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
README.md
scrub.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
scrub_test.go feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
storage.go feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
storage_controller.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
storage_test.go feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00

zot currently supports two types of underlying filesystems:

  1. local - a locally mounted filesystem

  2. 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:

  1. BoltDB - local storage. Set the "cloudCache" field in the config file to false. Example: examples/config-boltdb.json