diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-12 21:12:03 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 03:32:52 +0000 |
| commit | 68320b2c0a6751bf54ae9376d6e1e1dab30c0376 (patch) | |
| tree | 88c9e017796b496dc34099a6ee1df5b123b3f229 /recipes-containers/container-registry/files/container-registry-dev.yml | |
| parent | 8b19fa53399cdeb18b1cdd41276ecac5a4f659b0 (diff) | |
| download | meta-virtualization-68320b2c0a6751bf54ae9376d6e1e1dab30c0376.tar.gz | |
container-registry: add management commands and documentation
Registry management commands:
- delete <image>:<tag>: Remove tagged images from registry
- gc: Garbage collection with dry-run preview and confirmation
- push <image> --tag: Explicit tags now require image name
(prevents accidentally tagging all images with same version)
Config improvements:
- Copy config to storage directory with baked-in storage path
- Fixes gc which reads config directly (not via env var)
- All registry files now in ${TOPDIR}/container-registry/
Documentation:
- Development Loop workflow (build, push, pull, test)
- Build-time OCI labels (revision, branch, created)
- Complete command reference
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/container-registry/files/container-registry-dev.yml')
| -rw-r--r-- | recipes-containers/container-registry/files/container-registry-dev.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-containers/container-registry/files/container-registry-dev.yml b/recipes-containers/container-registry/files/container-registry-dev.yml index ed0a7c88..80e5296c 100644 --- a/recipes-containers/container-registry/files/container-registry-dev.yml +++ b/recipes-containers/container-registry/files/container-registry-dev.yml | |||
| @@ -33,6 +33,9 @@ storage: | |||
| 33 | filesystem: | 33 | filesystem: |
| 34 | # Storage directory - override with REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY env var | 34 | # Storage directory - override with REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY env var |
| 35 | rootdirectory: /tmp/container-registry | 35 | rootdirectory: /tmp/container-registry |
| 36 | # Enable deletion of images/tags | ||
| 37 | delete: | ||
| 38 | enabled: true | ||
| 36 | # Don't redirect to external storage | 39 | # Don't redirect to external storage |
| 37 | redirect: | 40 | redirect: |
| 38 | disable: true | 41 | disable: true |
