Getting some space back on docker

Trying to clear some space on docker and the image below shows that /mnt/data/logs are using 3.9gb
can i delete this folder

image

The image is missing (and posting images of logs is considered a fail). Run docker system prune -a to remove:

  • all stopped containers
  • all networks not used by at least one container
  • all images without at least one container associated to them
  • all build cache
1 Like

hi
have used system prune --all --volumes --force his does not clear the logs /mnt/data/logs , what does option -a do ?

Options:
-a, --all Remove all unused images not just dangling ones

So, you used it already. What’s in that logs-folder?

they are full of user journal files , are they safe to delete ?

I don’t know what a “user journal file” is …