Comments (5)
Agree about rm --all
. Users should probably have to work a little harder to shoot themselves in the foot. I would be in favor of adding a -q
option to soci index list
though (following the precedent set by nerdctl). Then users could say
soci index rm $(soci index list -q )
And soci index rm --ref <image-digest>
would be nice.
from soci-snapshotter.
This was pointed at "3" after the following discussion:
This issue is just to delete the SOCI index manifest, but not delete the zTOCs. TBD whether zTOCs need to be cleaned up by hand (which would require a soci ztoc rm
, as described above), or whether we would get all fancy and implement garbage collection of orphaned zTOCs.
A one-pager is probably needed to describe what we want the holistic artifact management experience to be, and then see what stories fall out of that.
But the immediate pain point is that if you create a second SOCI index for an image, but want soci push
to upload the first one, you can't today.
from soci-snapshotter.
Request for clarification: Would this command also delete the zTOCs blobs contained in the index? What if the zTOCs are part of multiple SOCI indices (e.g., if it's from a base index layer used by multiple container images)? To do this right, we'd either have to sign up for reference counting, or periodic garbage collection sweeps.
Maybe that's the right thing to do. But maybe we should wait until we can use the containerd store to store the SOCI artifacts, rather than reinvent that wheel.
from soci-snapshotter.
My initial thought was that only index blobs would be deleted + entry deleted from the db. Ztoc deletion should be part of soci ztoc rm
command. That does raise the question of what happens to indexes if ztocs are deleted. I don't have the answer to that.
from soci-snapshotter.
3
from soci-snapshotter.
Related Issues (20)
- [FEATURE] Create a SOCI Index without a Container Runtime HOT 1
- [FEATURE] Implement `Delete` for SOCI content store
- [FEATURE] Add test coverage metrics
- [Bug] ImagePullBackoff when pulling an image from private ECR with SOCI Index being present. HOT 26
- [FEATURE] Support systemd socket activation for soci-snapshotter-grpc
- [Bug] Problem pushing image to registry using nerdctl HOT 3
- [Bug] Container Ephemeral storage limit is not enforced when using SOCI Snapshotter. HOT 3
- [Bug] Extracting binaries of 0.5.0 requires the use of ./ prefix
- [FEATURE] Centralize our CLI Documentation HOT 1
- [FEATURE] Don't make registry calls when content has completed fetching HOT 2
- [Bug] Max concurrent uploads flag is unused HOT 2
- [Doc] Document zInfo binary format and implementation details HOT 1
- [Bug] ECR reauthentication on 403 does not seem to work HOT 7
- Update registry container image to v3.0.0
- [Bug] TestFuseOperationFailureMetrics fails on ARM64 HOT 1
- Return errors when creating SpanManager
- Switch to Alpine base for container images in integration tests
- [FEATURE] Set image tag when pushing a Soci index and an image index
- [FEATURE] Update docs/makefile for `command not found` after `make install` HOT 2
- [Bug] sh.R leaves open pipes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soci-snapshotter.