Clean docker images in Kubernetes cluster
Guillermo Garcia

Guillermo Garcia @ahioros

About: Linkedin -> https://www.linkedin.com/in/guillermogarcialedezma/ Github -> https://github.com/ahioros X -> https://twitter.com/ahioros

Joined:
May 12, 2024

Clean docker images in Kubernetes cluster

Publish Date: May 22 '24
0 0

A few days ago, in my Kubernetes lab, I noticed that I was running out of space. As a result, I had to delete those old Docker images.

You need go to each node and run as root:
Choose your alternartive:

  • Using docker:
docker system prune
Enter fullscreen mode Exit fullscreen mode
  • Using containerd:
crctl rmi --prune
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment