-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to remove image cache? #1482
Comments
|
I tried the above steps, but it didn't work. Additionally, I found that there is a lot of data related to nydus image in the
|
It seems that some snapshots have not been reclaimed, maybe containerd hasn't started GC? Can you find any files in these snapshot directories? |
just like this:
|
If no nydusd processes are alive and the snapshot directories can be accessed, these snapshots should belong to the OCI v1 images, maybe try to remove the OCI v1 images. |
I pulled the OCI v1 image
|
@adamqqqplay Any time to take a look at this? It seems the containerd did not reclaim these OCI image snapshots when using docker. |
It looks like there is something missing between docker and container. I'll try to reproduce this. |
I found that when I execute |
Maybe depend on containerd GC policy? |
Additionally it would be very helpful if the cleanup could be added as subcommand to automate this task and only delete cache that is not linked to any running images. |
Perhaps there is some dirty data in the |
I tested the container startup acceleration function of nydus, but my local system should have a cache, even if I exec
docker rmi -f $imagename
to delete the image every time, I always pull two or three layers from the remote Harbor (this image should have dozens of layers). How to clear the local cache, I want to pull the all layers from the remote Harbor.The text was updated successfully, but these errors were encountered: