Docker / Ubuntu delete image

  Autres
  • Your root disk is 96 GB, with ~32 GB used; the largest consumer is clearly Docker, specifically the n8n container’s node_modules under /var/lib/docker/overlay2/.../usr/local/lib/node_modules/n8n/node_modules.
  • This is normal for n8n Docker images (they bundle a lot of dependencies), and multiple images/containers, old layers, and unused volumes can add up quickly.

Next step, from SSH, list Docker disk usage in a human-friendly way:

To keep this under control in the future, you can periodically run:

docker image prune -a

and, say once a month:

sudo apt-get clean
sudo journalctl --vacuum-time=7d