You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've realized that my CRC space issue is caused by the fact that Container data are not purged after Container is deleted.
This is VM folder, where container folder are created:
/sysroot/ostree/deploy/rhcos/var/lib/containers/storage/overlay
Each started container creates new folder here with Container content and when terminated - folder remains here.
One folder Example:
/sysroot/ostree/deploy/rhcos/var/lib/containers/storage/overlay/1d14f839a486d2ad3a4f3f959e87e704f8096d73ea1f2b730fb73ad167fe0f13
I tried (using some logic based on folder content) to delete folders created by my Pods but I've created too many so my CRC can't start and I've to delete and create cluster again. Ok, I can improve my process but it is danger and difficult.
So question - how to purge mentioned folder or how to set CRC to delete container folder on Container termination?
What I need to setup in CRC?
Now, each container restart add new folder, previous remain. So VM size is growing and growing.
Thanks a lot,
Jiri
The text was updated successfully, but these errors were encountered:
Yes, after your reply I see it is the same.
And thanks a lot, seem it is working.
sudo podman image prune did not clean, it tried just dangling images but
this works properly: sudo podman image prune -a -f
So thanks again, This issue and #1711 can be closed now.
Hi,
I've realized that my CRC space issue is caused by the fact that Container data are not purged after Container is deleted.
This is VM folder, where container folder are created:
/sysroot/ostree/deploy/rhcos/var/lib/containers/storage/overlay
Each started container creates new folder here with Container content and when terminated - folder remains here.
One folder Example:
/sysroot/ostree/deploy/rhcos/var/lib/containers/storage/overlay/1d14f839a486d2ad3a4f3f959e87e704f8096d73ea1f2b730fb73ad167fe0f13
I tried (using some logic based on folder content) to delete folders created by my Pods but I've created too many so my CRC can't start and I've to delete and create cluster again. Ok, I can improve my process but it is danger and difficult.
So question - how to purge mentioned folder or how to set CRC to delete container folder on Container termination?
What I need to setup in CRC?
Now, each container restart add new folder, previous remain. So VM size is growing and growing.
Thanks a lot,
Jiri
The text was updated successfully, but these errors were encountered: